[MPlayer-dev-eng] Font hinting in libass

Evgeniy Stepanov eugeni.stepanov at gmail.com
Wed Apr 18 23:36:10 CEST 2007

On Thursday 19 April 2007 01:09, Uoti Urpala wrote:
> 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_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.

Having such an option seems like a good idea. I'm not sure about all of the 
flags, the first one seems to contradict the rest. Could you send me one of 
those fonts ?

I've also stumbled upon a font with seemingly wrong kerning information. It's 
the one in attachment, the kerning between "N" and "o" in it is a rather 
large number. Maybe I am missing something ? ftstring displays it correctly 
only when kerning is turned off.

If that is really the case, we might want yet another option to disable 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: BARTH_N.ttf.bz2
Type: application/x-bzip2
Size: 29997 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070419/9424c0b7/attachment.bin>

More information about the MPlayer-dev-eng mailing list