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

ASF subversion and git services commented on PDFBOX-2215:
---------------------------------------------------------

Commit 1615983 from [~jahewson] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1615983 ]

PDFBOX-2215: Search for symbol cmap too, in priority order

> 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