Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.5
-
None
-
Operating Systems: Windows
JDK: 1.8
Description
Some Japanese Fonts cannot be embedded into PDF document.
How to repeat
1. Get FOP from trunk@1810008
2. Get Font from the attachment
3. Use my config file and generate the PDF, there is no error reported.
4. Open the PDF file in Acro-Reader, it will report the "cannot extract the embedded font" error.
CFFParser@dnp.fo
java.io.IOException: invalid DICT data b0 byte: 23 at org.apache.fontbox.cff.CFFParser.readEntry(CFFParser.java:282) at org.apache.fontbox.cff.CFFParser.readDictData(CFFParser.java:240) at org.apache.fontbox.cff.CFFParser.parseFont(CFFParser.java:405) at org.apache.fontbox.cff.CFFParser.parse(CFFParser.java:145)
CFFParser@fot.fo
java.io.IOException: invalid DICT data b0 byte: 22 at org.apache.fontbox.cff.CFFParser.readEntry(CFFParser.java:282) at org.apache.fontbox.cff.CFFParser.readDictData(CFFParser.java:240) at org.apache.fontbox.cff.CFFParser.parseFont(CFFParser.java:405) at org.apache.fontbox.cff.CFFParser.parse(CFFParser.java:145)