You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "simon steiner (JIRA)" <ji...@apache.org> on 2018/05/16 09:58:00 UTC
[jira] [Updated] (FOP-2747) Acrobat Reader error with some Japanese
Fonts
[ https://issues.apache.org/jira/browse/FOP-2747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
simon steiner updated FOP-2747:
-------------------------------
Fix Version/s: 2.3
> 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
> Assignee: simon steiner
> Priority: Major
> Fix For: 2.3
>
> Attachments: dnp.fo, dnp.pdf, dnp_full.pdf, fop.xconf, fot.fo, fot.pdf, fot_full.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.
> CFFParser@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}
> CFFParser@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
(v7.6.3#76005)