xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "simon steiner (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FOP-2747) Acrobat Reader error with some Japanese Fonts
Date Wed, 16 May 2018 09:58:00 GMT

     [ 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)

Mime
View raw message