[Fontconfig] TTF/OTF packaging thoughts?

James Cloos cloos at jhcloos.com
Wed Jul 23 12:45:32 PDT 2008

>>>>> "Nicolas" == Nicolas Mailhot <nicolas.mailhot at laposte.net> writes:

Nicolas> Can you patch fontconfig so apps get OTF (OpenType CFF)
Nicolas> versions by default, unless they explicitely request OpenType
Nicolas> TTF files? (when the same version of the same font is available
Nicolas> in both formats)

You may be able to do that in fonts.conf.

test name="fontformat" for the strings >TrueType<, >CFF< or >Type 1<.

Or, you might want to patch apps like OO.o, AbiWord, et al to ignore
CFF; there is a C-level api for that, too.  In fact, until they actually
support CFF, they should do that upstream....

James Cloos <cloos at jhcloos.com>         OpenPGP: 1024D/ED7DAEA6

More information about the Fontconfig mailing list