[
https://issues.apache.org/jira/browse/PDFBOX-2904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr resolved PDFBOX-2904.
-------------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0
The font is used for only one glyph, which is the copyright symbol. That one
renders fine. The text extraction is incorrect (q), but it is incorrect in
Adobe Reader too.
> IndexOutOfBoundsException in CFFType1Font.getType2CharString()
> --------------------------------------------------------------
>
> Key: PDFBOX-2904
> URL: https://issues.apache.org/jira/browse/PDFBOX-2904
> Project: PDFBox
> Issue Type: Bug
> Components: FontBox
> Affects Versions: 2.0.0
> Reporter: Tilman Hausherr
> Fix For: 2.0.0
>
> Attachments: 378255.pdf
>
>
> {code}java.lang.IndexOutOfBoundsException: Index: 82, Size: 1
> at java.util.ArrayList.rangeCheck(Unknown Source)
> at java.util.ArrayList.get(Unknown Source)
> at
> org.apache.fontbox.cff.CFFType1Font.getType2CharString(CFFType1Font.java:129)
> at
> org.apache.fontbox.cff.CFFType1Font.getType1CharString(CFFType1Font.java:95)
> at org.apache.fontbox.cff.CFFType1Font.getWidth(CFFType1Font.java:66)
> at
> org.apache.pdfbox.pdmodel.font.PDType1CFont.getWidthFromFont(PDType1CFont.java:253)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]