[MPlayer-dev-eng] Font hinting in libass
uoti.urpala at pp1.inet.fi
Thu Apr 19 00:30:11 CEST 2007
On Thu, 2007-04-19 at 01:36 +0400, Evgeniy Stepanov wrote:
> 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_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.
> 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.
I didn't mean ORing those flags together. By the comment in parentheses
I meant whether the option should be just "enable/disable hinting" or
whether it should allow picking a mode out of all the possible
> Could you send me one of those fonts ?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Alberta Regular.ttf.gz
Size: 33714 bytes
Desc: not available
More information about the MPlayer-dev-eng