[
https://issues.apache.org/jira/browse/PDFBOX-1335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Maruan Sahyoun updated PDFBOX-1335:
-----------------------------------
Fix Version/s: 1.8.0
> 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
> Fix For: 1.8.0
>
>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira