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/09/15 20:38:38 UTC

[jira] [Created] (PDFBOX-2352) NegativeArraySizeException in .HorizontalMetricsTable.read

Tilman Hausherr created PDFBOX-2352:
---------------------------------------

             Summary: NegativeArraySizeException in .HorizontalMetricsTable.read
                 Key: PDFBOX-2352
                 URL: https://issues.apache.org/jira/browse/PDFBOX-2352
             Project: PDFBox
          Issue Type: Bug
          Components: FontBox
    Affects Versions: 2.0.0
            Reporter: Tilman Hausherr


I get this exception with the attached file:
{code}
java.lang.NegativeArraySizeException
	at org.apache.fontbox.ttf.HorizontalMetricsTable.read(HorizontalMetricsTable.java:63)
	at org.apache.fontbox.ttf.TrueTypeFont.readTable(TrueTypeFont.java:286)
	at org.apache.fontbox.ttf.TTFParser.parseTables(TTFParser.java:146)
	at org.apache.fontbox.ttf.TTFParser.parse(TTFParser.java:122)
	at org.apache.fontbox.ttf.TTFParser.parse(TTFParser.java:96)
	at org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.<init>(PDTrueTypeFont.java:108)
	at org.apache.pdfbox.pdmodel.font.PDFontFactory.createFont(PDFontFactory.java:81)
	at org.apache.pdfbox.pdmodel.PDResources.getFonts(PDResources.java:171)
	at org.apache.pdfbox.util.PDFStreamEngine.getFonts(PDFStreamEngine.java:556)
{code}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)