Hi Pdfbox-developers,

when parsing a PostScriptTable of a TrueType font (Format 2.0: Non-Standard (for PostScript) TrueType Glyph Set.) I wondered about the many wrong "space" entries for non-whitespace-glyphs for which TTFDump stated ".notdef".

I found out that org.apache.fontbox.encoding.(MacRoman)Encoding.getName() puts a "space" when codeToName doesnt find a name.

I have no good grasp of the TTF spec but shouldn't this method be changed to return ".notdef" for unknown codes (means code with no PSGlyf Name)?

Wulf

Reply via email to