Tilman Hausherr created PDFBOX-5047:
---------------------------------------
Summary: ClassCastException: class java.lang.String cannot be cast
to class [B in CMapParser
Key: PDFBOX-5047
URL: https://issues.apache.org/jira/browse/PDFBOX-5047
Project: PDFBox
Issue Type: Bug
Affects Versions: 2.0.21
Reporter: Tilman Hausherr
Attachments: E5ZRPQDP6OYLCMNJ52PGMUTT6EONJQ5D.pdf
{noformat}
java.lang.ClassCastException: class java.lang.String cannot be cast to class [B
(java.lang.String and [B are in module java.base of loader 'bootstrap')
at
org.apache.fontbox.cmap.CMapParser.parseBeginbfchar(CMapParser.java:265)
at org.apache.fontbox.cmap.CMapParser.parse(CMapParser.java:135)
at
org.apache.pdfbox.pdmodel.font.CMapManager.parseCMap(CMapManager.java:75)
at org.apache.pdfbox.pdmodel.font.PDFont.readCMap(PDFont.java:213)
at
org.apache.pdfbox.pdmodel.font.PDFont.loadUnicodeCmap(PDFont.java:147)
{noformat}
Not sure if that is the cause, but I noticed several "%" in the /ToUnicode
stream of the last font in the resources of page 9.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]