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

Tilman Hausherr commented on PDFBOX-2177:
-----------------------------------------

Your patch is surprisingly small, and doesn't seem to have anything to do with 
what John wrote.

Or do you just want me to test your patch to see if anything terrible happens 
with the 200 test renderings?

> [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
>            Assignee: John Hewson
>         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)

Reply via email to