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 15:57:01 UTC
[jira] [Created] (PDFBOX-2134) Parsing of a Type1 font fails with a
NPE
Petr Slaby created PDFBOX-2134:
----------------------------------
Summary: 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
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)