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/06/13 02:17:02 UTC
[jira] [Issue Comment Deleted] (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 ]
John Hewson updated PDFBOX-2134:
--------------------------------
Comment: was deleted
(was: Fixed in PDFBOX-2135.)
> 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
> Fix For: 2.0.0
>
> 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)