[ 
https://issues.apache.org/jira/browse/PDFBOX-2177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

John Hewson resolved PDFBOX-2177.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.0

With the issue of CIDs/SIDs/GIDs resolved by PDFBOX-2262, applying this patch 
fixes the problem.

> [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
>             Fix For: 2.0.0
>
>         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.3.4#6332)

Reply via email to