Mercurial > mplayer.hg
comparison libmpcodecs/ad_twin.c @ 26591:0f069e41d8d2
Allow inexact font family matching.
In SSA/ASS fonts are sometimes referenced by their "full name",
which is usually a concatenation of family name and font
style (ex. Ottawa Bold). Full name is available from
FontConfig pattern element FC_FULLNAME, but it is never
used for font matching.
Therefore, I'm removing words from the end of the name one
by one, and adding shortened names to the pattern. It seems
that the first value (full name in this case) has
precedence in matching.
author | eugeni |
---|---|
date | Thu, 01 May 2008 00:34:26 +0000 |
parents | a033e5519802 |
children | 63630c09e237 |
comparison
equal
deleted
inserted
replaced
26590:ccfcdc2323aa | 26591:0f069e41d8d2 |
---|