[cairo-bugs] [Bug 23333] Mismatches hinting at certain glyph pixelsizes.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Aug 18 15:13:00 PDT 2009


http://bugs.freedesktop.org/show_bug.cgi?id=23333





--- Comment #12 from Behdad Esfahbod <freedesktop at behdad.org>  2009-08-18 15:12:58 PST ---
Ok, I see the bug in the code.  Such a mess I don't want to touch it with a
10ft pole...  Maybe I should wait until I get to clean it all.  In short, right
now we're assuming that if glyph hinting is happening, FreeType is hinting
metrics already, so we don't try.  Whereas if hinting is off, we do the
hinting.

If you want to experiment, see if changing cairo/src/cairo-ft-font.c, inside
_cairo_ft_scaled_glyph_init(), changing the following condition:

        if (hint_metrics && (load_flags & FT_LOAD_NO_HINTING)) 

to:

        if (hint_metrics) 

helps.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the cairo-bugs mailing list