[Fontconfig] Interrogating arbitrary font files
pat at suwalski.net
Sat Dec 22 09:41:37 PST 2007
> Is there any way to get the other meta info (like foundry and copyright) out
> of an *arbitrary* font file? I wanted to call fc-match from within Python,
> but from what I can see it only searches fonts that FC controls and that
> means arbitrary fonts won't work.
Executing "ftinfo -a" on a file will give you that information, though
I'm not sure it's what you're looking for, unless you use fontconfig to
determine what the file is first.
More information about the Fontconfig