You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2014/12/03 19:44:12 UTC
[jira] [Created] (PDFBOX-2540) ArrayIndexOutOfBoundsException in
Type1Parser.parseASCII
Tilman Hausherr created PDFBOX-2540:
---------------------------------------
Summary: ArrayIndexOutOfBoundsException in Type1Parser.parseASCII
Key: PDFBOX-2540
URL: https://issues.apache.org/jira/browse/PDFBOX-2540
Project: PDFBox
Issue Type: Bug
Components: FontBox
Affects Versions: 2.0.0
Reporter: Tilman Hausherr
Assignee: Tilman Hausherr
Fix For: 2.0.0
I get this with the file 451024.pdf:
{code}
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
at org.apache.fontbox.type1.Type1Parser.parseASCII(Type1Parser.java:76)
at org.apache.fontbox.type1.Type1Parser.parse(Type1Parser.java:61)
{code}
The cause is an empty /FontFile and the failure to expect this, the fix is easy.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)