MacArthur, Ian wrote:
> Michael Bäuerle wrote:
> >
> > [...]
> > The interesting thing is that GTK+ uses Xft/fontconfig/freetype
> > too, but only FLTK seem to have problems with some hinting styles.
>
> I don't have any feel for what GTK+ does internally, so it may be
> making some "serious effort" to measure how tall the face actually
> is when rendered.
>
> Fltk, I think, tends to assume the face is the height we expect it
> to be, so if the face (when rendered) is actually taller than
> expected, I imagine that would cause the observed effect on the
> display.
>
> I'm not clear whether changing the hinting level would change what
> height is reported for a face at runtime, but I suspect that it
> might, so... Don't know though...
Maybe it is possible to force a working hinting style only for FLTK
applications (directly from the library) as workaround.
No question that a real fix would be better, but this would at least
"just work" without user intervention on systems that use GNOME
components for the GUI (looks like using GDM is sufficient to trigger
the problem even for Xfce).
I use startx on my machines, therefore I never saw this problem on
one of them.