Re: text size in pango
- From: Fritz Ganter <ganter ganter at>
- To: Owen Taylor <otaylor redhat com>
- Cc: gtk-app-devel-list <gtk-app-devel-list gnome org>, Pango Devel <gtk-i18n-list gnome org>
- Subject: Re: text size in pango
- Date: 07 May 2003 16:54:10 +0200
Thanks Owen!
Thanks, thanks, thanks!
Okay, I was tired yesterday night, and I searched a lot, but this I must
have overseen.
Am Mit, 2003-05-07 um 15.48 schrieb Owen Taylor:
> Try instead:
>
> pango_layout_get_pixel_size (layout, &width, NULL);
>
> And remember to g_object_unref() the layout.
Its unrefed in my function anyway.
It works (nearly) fine with this, thanks.
The only issue is that some unicode fonts are not calculated correctly.
See the labels on the map: http://www.kraftvoll.at/software/gpsdrive.png
Cyrilic is fine, the other give a too small value.
--
Fritz "der mit dem Linux tanzt" Ganter http://www.kraftvoll.at
Key fingerprint = 555A DDBB 3985 16FF CD41 2031 C485 1783 BF34 728F
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]