[
https://issues.apache.org/jira/browse/PDFBOX-5843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17856289#comment-17856289
]
Tilman Hausherr commented on PDFBOX-5843:
-----------------------------------------
It turns out to be completely different. I ran a 2.0.1 source code build with
the change and hit an ArrayOutofBoundsException in
CFFCIDFont.getLocalSubrIndex(). That means we can't just skip empty entries.
Now I get this:
!screenshot-3.png!
I'll investigate some more but it seems promising.
> There is an exception when getting embedded font, is it compatible?
> -------------------------------------------------------------------
>
> Key: PDFBOX-5843
> URL: https://issues.apache.org/jira/browse/PDFBOX-5843
> Project: PDFBox
> Issue Type: Bug
> Components: FontBox
> Affects Versions: 2.0.31, 3.0.2 PDFBox
> Reporter: liu
> Priority: Major
> Attachments: 123.pdf, image-2024-06-19-16-49-40-186.png,
> screenshot-1.png, screenshot-2.png, screenshot-3.png, xxx.cff
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]