John Hewson created PDFBOX-2650:
-----------------------------------

             Summary: Type1Equivalent: TrueType must use 'cmap' when 'post' 
table is empty
                 Key: PDFBOX-2650
                 URL: https://issues.apache.org/jira/browse/PDFBOX-2650
             Project: PDFBox
          Issue Type: Bug
          Components: FontBox
    Affects Versions: 2.0.0
            Reporter: John Hewson
            Assignee: John Hewson


All glyphs are missing in the Helvetica font on Windows 8.1.

{code}
D:\__test>java -jar pdfbox-app-2.0.0-20150129.180809-996.jar PDFToImage 
rg-1234567890BA.pdf
Jan 31, 2015 2:34:34 PM org.apache.pdfbox.rendering.font.Type1Glyph2D 
getPathForCharacterCode
WARNUNG: No glyph for 77 (.notdef) in font Helvetica
Jan 31, 2015 2:34:34 PM org.apache.pdfbox.rendering.font.Type1Glyph2D 
getPathForCharacterCode
WARNUNG: No glyph for 97 (.notdef) in font Helvetica
Jan 31, 2015 2:34:34 PM org.apache.pdfbox.rendering.font.Type1Glyph2D 
getPathForCharacterCode
WARNUNG: No glyph for 114 (.notdef) in font Helvetica
Jan 31, 2015 2:34:34 PM org.apache.pdfbox.rendering.font.Type1Glyph2D 
getPathForCharacterCode
WARNUNG: No glyph for 107 (.notdef) in font Helvetica
Jan 31, 2015 2:34:34 PM org.apache.pdfbox.rendering.font.Type1Glyph2D 
getPathForCharacterCode
WARNUNG: No glyph for 117 (.notdef) in font Helvetica
{code}

Some research shows that this is because the 'post' table in Arial.ttf no 
longer contains names (it's now format 3), which FontBox was relying on. We 
must fallback to the 'cmap' table in this case.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to