[Fontconfig] family_name for the font without ASCII names
Behdad Esfahbod
behdad at behdad.org
Sat Jan 8 10:16:24 PST 2011
On 01/08/11 12:24, mpsuzuki at hiroshima-u.ac.jp wrote:
> What I'm trying to do is: a patch for FreeType2 library to change
> the default FT_Face->family_name when a TrueType/OpenType font
> without ASCII family name is given. My concern was that such
> change may have any bad impact to fontconfig.
>
> But, as Behdad and you told, it seems that the names handled by
> fontconfig are copied from "name" table and not a copy of
> FT_Face->family_name. So, I understand as there is no impact at all.
> It is good news!
If you check fcfreetype.c, fontconfig uses face->family_name as a last resort.
At any rate, improving it can't be bad. If FreeType produces question marks
for unknown family names, maybe we should filter those out in fontconfig. Can
you do that?
behdad
More information about the Fontconfig
mailing list