xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kazuyuki Murakami (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FOP-2747) Acrobat Reader error with some Japanese Fonts
Date Thu, 05 Oct 2017 23:50:00 GMT

    [ https://issues.apache.org/jira/browse/FOP-2747?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16193935#comment-16193935
] 

Kazuyuki Murakami commented on FOP-2747:
----------------------------------------

Thanks for fixing.
I confirmed what was fixed.

> 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
>         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.
> 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
(v6.4.14#64029)

Mime
View raw message