You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "John Hewson (JIRA)" <ji...@apache.org> on 2014/09/10 22:01:34 UTC
[jira] [Comment Edited] (PDFBOX-2335) NPE in DictionaryEncoding
constructor
[ https://issues.apache.org/jira/browse/PDFBOX-2335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14129009#comment-14129009 ]
John Hewson edited comment on PDFBOX-2335 at 9/10/14 8:00 PM:
--------------------------------------------------------------
Do you have any fonts with "ding" in the name? e.g. Wingdings? Webdings?
was (Author: jahewson):
Do you have any fonts with "ding" in the name? e.g. Wingdings?
> NPE in DictionaryEncoding constructor
> -------------------------------------
>
> Key: PDFBOX-2335
> URL: https://issues.apache.org/jira/browse/PDFBOX-2335
> Project: PDFBox
> Issue Type: Bug
> Components: FontBox
> Reporter: Tilman Hausherr
> Assignee: John Hewson
> Fix For: 2.0.0
>
> Attachments: PDFBOX-2335-203040-p17.pdf
>
>
> I get an NPE with the attached file:
> {code}
> Sep 09, 2014 9:16:57 PM org.apache.pdfbox.pdmodel.font.PDType1Font <init>
> WARNUNG: Using fallback font 'TimesNewRomanPSMT' for 'ZapfDingbats'
> Exception in thread "main" java.lang.NullPointerException
> at org.apache.pdfbox.encoding.DictionaryEncoding.<init>(DictionaryEncoding.java:91)
> at org.apache.pdfbox.pdmodel.font.PDSimpleFont.readEncoding(PDSimpleFont.java:126)
> at org.apache.pdfbox.pdmodel.font.PDType1Font.<init>(PDType1Font.java:256)
> at org.apache.pdfbox.pdmodel.font.PDFontFactory.createFont(PDFontFactory.java:65)
> at org.apache.pdfbox.pdmodel.PDResources.getFonts(PDResources.java:171)
> at org.apache.pdfbox.util.PDFStreamEngine.getFonts(PDFStreamEngine.java:556)
> at org.apache.pdfbox.util.operator.text.SetTextFont.process(SetTextFont.java:48)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)