[cairo-bugs] [Bug 23333] Mismatches hinting at certain glyph pixelsizes.
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Aug 18 14:44:35 PDT 2009
http://bugs.freedesktop.org/show_bug.cgi?id=23333
--- Comment #10 from James Cloos <cloos at jhcloos.com> 2009-08-18 14:44:33 PST ---
>> Also, one last thing...shouldn't slight-hinting give you the same
>> width no matter what? I thought slight-hinting only hinted the
>> vertical direction, never horizontal, and wouldn't need any metric
>> correction for width.
> I don't remember how slight-hinting works. Again, we're just getting
> the metrics and outline from FreeType, and rounding the metrics if
> metrics-hinting is enabled.
Slight Hinting (aka the Light Autofit module, in freetype-speak) does
exactly as he said: it adjusts the glyph outlines in the vertical
direction¹ only for the express purpose of not changing the horizontal
metrics.
Properly set text should accumulate the fractions even when snapping
the glyphs to pixels; it should skip extra pixels w/in whitespace, as
required, to closely match the unrounded positioning.
More information about the cairo-bugs
mailing list