Re: Difference in font layout heights?



Hi,

Owen Taylor <otaylor redhat com> writes:

> Are you setting language tags on your text? (See
> gtk_get_default_language()). If you don't set a language tag, GTK+ is
> going to leave enough spacing for "any" language in many cases.

the documentation to gtk_get_default_language() seems to be wrong. It
states that it would return an ISO language code and that the result
should be freed. Truth is that it returns a PangoLanuage (and noone is
supposed to know that this is just an ISO language code at the moment)
and a PangoLanguage should definitely not be freed.

> There are also some issues with pango_ft2_render_layout(); see:
> 
>  http://bugzilla.gnome.org/show_bug.cgi?id=105292
> 
> But unless you are setting the spacing attribute, shouldn't make a 
> difference.

you didn't yet comment on my patch for this problem. Since GIMP-1.3.12
uses the spacing attribute, I expect to get bug-reports about it soon.


Salut, Sven



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]