You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Mirek Hankus (JIRA)" <ji...@apache.org> on 2012/06/07 15:12:23 UTC
[jira] [Created] (PDFBOX-1335) ArrayIndexOutOfBoundsException while
loading ttf font
Mirek Hankus created PDFBOX-1335:
------------------------------------
Summary: ArrayIndexOutOfBoundsException while loading ttf font
Key: PDFBOX-1335
URL: https://issues.apache.org/jira/browse/PDFBOX-1335
Project: PDFBox
Issue Type: Bug
Affects Versions: 1.7.0
Reporter: Mirek Hankus
While loading TTF font I'm getting exception (below). That font is OpenSans-Regular.ttf from http://www.google.com/webfonts
Caused by: java.lang.ArrayIndexOutOfBoundsException: 931
at org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.loadDescriptorDictionary(PDTrueTypeFont.java:360)
at org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.loadTTF(PDTrueTypeFont.java:166)
at org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.loadTTF(PDTrueTypeFont.java:142)
at org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.loadTTF(PDTrueTypeFont.java:129)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira