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

        

Reply via email to