You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Petr Slaby (JIRA)" <ji...@apache.org> on 2014/06/11 16:01:27 UTC
[jira] [Updated] (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 ]
Petr Slaby updated PDFBOX-2134:
-------------------------------
Attachment: testrun.log
000216.pdf
> 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
> 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)