Hi all,

I use fontconfig to find font files for my PDF viewer.
However, oftimes the standard windows fonts (Times New Roman & co)
are not embedded in the PDF, nor are the standard 14 fonts used.
Instead, the PDF specifies a postscript font name, or in the
case of truetype fonts, a mangled name:

(�5.5.2 of pdfref.pdf)
... derive a PostScript name from the name by which the font is
known in the host operating system: on a Windows system, it is
based on the IfFaceName field in a LOGFONT structure; in the
Mac OS, it is based on the name of the FOND resource. If the name
contains any spaces, the spaces are removed.

further: ... a comma and the style name (one of Bold, Italic
or BoldItalic) are appended to the font name.

For example: "TimesNewRoman,Italic"

How to best create a matching pattern, given this?

Can fontconfig be extended to do fuzzy name matches?

/tor

_______________________________________________
Render mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/render

Reply via email to