Subject: | TTF embedding type mismatches |
I'm using CFF OpenType fonts, and looking at the generated PDF,
ghostscript is reporting mismatches, like so:
% pdffonts test.pdf
name type emb sub uni object ID
------------------------------------ ----------------- --- --- --- ---------
Error: Mismatch between font type and embedded font file
TimesNewRomanMTStd-Bold Type 1C yes no no 12 0
According to http://www.typophile.com/node/71297, Type 1C is for
name-keyed fonts, whereas the right subtype for CID-keyed fonts would be
CIDFontType0C.
However, when I change
PDF/API2/Resource/CIDFont/TrueType/FontFile.pm:478 to reflect this,
although pdffonts is now happy and not reporting mismatches, ghostscript
can't find the font any more, so I'm not sure what is the right fix here.