Re: Difference in font layout heights?
- From: Sven Neumann <sven gimp org>
- To: Owen Taylor <otaylor redhat com>
- Cc: Lars Clausen <lrclause cs uiuc edu>, gtk-list gnome org
- Subject: Re: Difference in font layout heights?
- Date: 24 Feb 2003 19:53:54 +0100
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]