[MPlayer-dev-eng] Font hinting in libass

Uoti Urpala uoti.urpala at pp1.inet.fi
Thu Apr 19 02:19:11 CEST 2007


On Thu, 2007-04-19 at 02:30 +0300, Uoti Urpala wrote:
> Try the font I posted earlier. The most easily verifiable problem I
> noticed is that with "native" hinting 'i' and 'j' are too tall compared
> to other small letters. If you try rendering a string like "ririri" it
> should be pretty clear.

I experimented a bit more and the exact nature of the problem depends on
the exact font size. A range of sizes is broken, but particular sizes
worse than others and somewhat differently. Using the "ftview" program
from FreeType (package freetype2-demos on Debian) as follows shows one
broken case:

ftview -r 29 -m "riririddddd" ppem "Alberta Regular.ttf"

Using "-l 1" (or cycling through rendering modes with 'L') shows a
non-broken version, in this case using the 'light' hinting option which
forces automatic hinting rather than using font information.





More information about the MPlayer-dev-eng mailing list