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/15 18:10:13 UTC
[jira] [Created] (PDFBOX-2572) ArrayIndexOutOfBoundsException in
CmapSubtable.processSubtype12
Tilman Hausherr created PDFBOX-2572:
---------------------------------------
Summary: ArrayIndexOutOfBoundsException in CmapSubtable.processSubtype12
Key: PDFBOX-2572
URL: https://issues.apache.org/jira/browse/PDFBOX-2572
Project: PDFBox
Issue Type: Bug
Components: FontBox
Affects Versions: 2.0.0
Reporter: Tilman Hausherr
{code}
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 1634
at org.apache.fontbox.ttf.CmapSubtable.processSubtype12(CmapSubtable.java:258)
at org.apache.fontbox.ttf.CmapSubtable.initSubtable(CmapSubtable.java:107)
at org.apache.fontbox.ttf.CmapTable.read(CmapTable.java:78)
at org.apache.fontbox.ttf.TrueTypeFont.readTable(TrueTypeFont.java:285)
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.PDCIDFontType2.<init>(PDCIDFontType2.java:83)
at org.apache.pdfbox.pdmodel.font.PDFontFactory.createDescendantFont(PDFontFactory.java:131)
at org.apache.pdfbox.pdmodel.font.PDType0Font.<init>(PDType0Font.java:95)
at org.apache.pdfbox.pdmodel.font.PDFontFactory.createFont(PDFontFactory.java:89)
at org.apache.pdfbox.pdmodel.PDResources.getFont(PDResources.java:91)
at org.apache.pdfbox.contentstream.operator.text.SetFontAndSize.process(SetFontAndSize.java:50)
at org.apache.pdfbox.contentstream.PDFStreamEngine.processOperator(PDFStreamEngine.java:819)
at org.apache.pdfbox.contentstream.PDFStreamEngine.processStreamOperators(PDFStreamEngine.java:477)
at org.apache.pdfbox.contentstream.PDFStreamEngine.processStream(PDFStreamEngine.java:451)
at org.apache.pdfbox.contentstream.PDFStreamEngine.processPage(PDFStreamEngine.java:155)
at org.apache.pdfbox.rendering.PageDrawer.drawPage(PageDrawer.java:163)
at org.apache.pdfbox.rendering.PDFRenderer.renderPage(PDFRenderer.java:204)
at org.apache.pdfbox.rendering.PDFRenderer.renderImage(PDFRenderer.java:137)
at org.apache.pdfbox.rendering.PDFRenderer.renderImageWithDPI(PDFRenderer.java:96)
at org.apache.pdfbox.tools.PDFToImage.main(PDFToImage.java:227)
at org.apache.pdfbox.tools.PDFBox.main(PDFBox.java:89)
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)