You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "simon steiner (JIRA)" <ji...@apache.org> on 2014/07/22 15:21:40 UTC

[jira] [Commented] (PDFBOX-2177) [PATCH] IndexOutOfBoundsException reading embedded OpenType font

    [ https://issues.apache.org/jira/browse/PDFBOX-2177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14070238#comment-14070238 ] 

simon steiner commented on PDFBOX-2177:
---------------------------------------

Added patch

> [PATCH] IndexOutOfBoundsException reading embedded OpenType font
> ----------------------------------------------------------------
>
>                 Key: PDFBOX-2177
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2177
>             Project: PDFBox
>          Issue Type: Bug
>          Components: FontBox
>    Affects Versions: 2.0.0
>            Reporter: simon steiner
>         Attachments: glyphrange.patch, out.7z
>
>
> java -jar ~/pdf-box-svn/app/target/pdfbox-app-2.0.0-SNAPSHOT.jar PDFToImage opentype.pdf 
> PDFToImage failed with the following exception:
> java.lang.IndexOutOfBoundsException: Index: 2, Size: 2
> 	at java.util.SubList.rangeCheck(AbstractList.java:755)
> 	at java.util.SubList.get(AbstractList.java:639)
> 	at java.util.Collections$SynchronizedList.get(Collections.java:2477)
> 	at org.apache.fontbox.cff.Type2CharString.drawCurve(Type2CharString.java:356)
> 7zip attachment



--
This message was sent by Atlassian JIRA
(v6.2#6252)