[MPlayer-dev-eng] Font hinting in libass

Uoti Urpala uoti.urpala at pp1.inet.fi
Wed Apr 18 23:09:27 CEST 2007


Some embedded fonts look quite ugly in current MPlayer, but are OK if I
disable native hinting. Adding any one of FT_LOAD_NO_HINTING,
FT_LOAD_FORCE_AUTOHINT or FT_LOAD_TARGET_LIGHT to the flags in the
FT_Load_Glyph call in ass_font.c produces a much better result. I don't
know whether there is a problem in the way FreeType uses the hints or if
the fonts simply contain broken information which is better not used. I
checked one hardsubbed file which was probably created on Windows and it
looks quite similar to the version with hinting completely disabled.

I think there should be a way to disable native hinting, but I'm not
sure whether it should be an option (including all the flags above?) or
if some other mode would be suitable as a default.




More information about the MPlayer-dev-eng mailing list