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:40:34 UTC
[jira] [Updated] (PDFBOX-2352) NegativeArraySizeException in
HorizontalMetricsTable.read
[ https://issues.apache.org/jira/browse/PDFBOX-2352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tilman Hausherr updated PDFBOX-2352:
------------------------------------
Summary: NegativeArraySizeException in HorizontalMetricsTable.read (was: NegativeArraySizeException in .HorizontalMetricsTable.read)
> 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
> Attachments: PDFBOX-2352-266813-p1.pdf
>
>
> 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)