You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (JIRA)" <ji...@apache.org> on 2014/06/11 18:31:05 UTC
[jira] [Assigned] (PDFBOX-2134) Parsing of a Type1 font fails with
a NPE
[ https://issues.apache.org/jira/browse/PDFBOX-2134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Lehmkühler reassigned PDFBOX-2134:
------------------------------------------
Assignee: Andreas Lehmkühler
> Parsing of a Type1 font fails with a NPE
> ----------------------------------------
>
> Key: PDFBOX-2134
> URL: https://issues.apache.org/jira/browse/PDFBOX-2134
> Project: PDFBox
> Issue Type: Bug
> Components: FontBox
> Affects Versions: 2.0.0
> Reporter: Petr Slaby
> Assignee: Andreas Lehmkühler
> Priority: Minor
> Attachments: 000216.pdf, testrun.log
>
>
> In the attached example, a NPE is thrown in Type1Parser#parseASCII(). The file renders fine in Acrobat and in PDFBox 1.7.x where the font was interpreted using AWT. It seems that the encoding dictionary is missing in the font, but I do not know enough about Type1 font syntax to really understand the problem.
> Note: This is just a file from my test suite, not a production problem. I do not know whether the parser or the PDF is wrong, I just know that it "worked before".
--
This message was sent by Atlassian JIRA
(v6.2#6252)