[ 
https://issues.apache.org/jira/browse/PDFBOX-2215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14086000#comment-14086000
 ] 

Tilman Hausherr commented on PDFBOX-2215:
-----------------------------------------

I get this on p. 3, and I used a clean version from svn:
{code}
java.lang.IllegalArgumentException: ttf:
no suitable cmap for font 'Symbol', found: [{1 0}, {3 0}]
        at 
org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.makeFontDescriptor(PDTrueTypeFont.java:297)
        at 
org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.getFontDescriptor(PDTrueTypeFont.java:151)
        at org.apache.pdfbox.pdmodel.font.PDFont.getFontHeight(PDFont.java:350)
        at 
org.apache.pdfbox.util.PDFStreamEngine.processText(PDFStreamEngine.java:431)
{code}
The PDFToImage cmd line app doesn't recover from that.

> NPE in PDTrueTypeFont.makeFontDescriptor
> ----------------------------------------
>
>                 Key: PDFBOX-2215
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2215
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>    Affects Versions: 2.0.0
>            Reporter: Tilman Hausherr
>            Assignee: John Hewson
>             Fix For: 2.0.0
>
>         Attachments: PDFBOX-2215-027073.pdf
>
>
> I get an NPE with the attached file:
> {code}
> java.lang.NullPointerException
>       at 
> org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.makeFontDescriptor(PDTrueTypeFont.java:337)
>       at 
> org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.getFontDescriptor(PDTrueTypeFont.java:150)
>       at org.apache.pdfbox.pdmodel.font.PDFont.getFontHeight(PDFont.java:350)
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to