Kazuyuki Murakami created FOP-2747: -------------------------------------- Summary: Acrobat Reader error with some Japanese Fonts Key: FOP-2747 URL: https://issues.apache.org/jira/browse/FOP-2747 Project: FOP Issue Type: Bug Components: font/opentype Affects Versions: trunk Environment: Operating Systems: Windows JDK: 1.8 Reporter: Kazuyuki Murakami Attachments: dnp.fo, dnp_full.pdf, dnp.pdf, DNPShuei4goStdM.otf, fop.xconf, FOT-CezanneProNM.otf, fot.fo, fot_full.pdf, fot.pdf
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. cffpar...@dnp.fo {noformat} 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) {noformat} cffpar...@fot.fo {noformat} 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) {noformat} -- This message was sent by Atlassian JIRA (v6.4.14#64029)