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 2017/10/12 13:08:00 UTC
[jira] [Assigned] (FOP-2751) Acrobat Reader error with some Latin
Fonts
[ https://issues.apache.org/jira/browse/FOP-2751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
simon steiner reassigned FOP-2751:
----------------------------------
Assignee: simon steiner
> Acrobat Reader error with some Latin Fonts
> ------------------------------------------
>
> Key: FOP-2751
> URL: https://issues.apache.org/jira/browse/FOP-2751
> 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: FuturaStd-Book.fo, FuturaStd-Book.otf, FuturaStd-Book.pdf, FuturaStd-Book_full.pdf, GillSansStd.fo, GillSansStd.otf, GillSansStd.pdf, GillSansStd_Acrobat.png, GillSansStd_full.pdf, TimesNewRomanMTStd-Bold.fo, TimesNewRomanMTStd-Bold.otf, TimesNewRomanMTStd-Bold.pdf, TimesNewRomanMTStd-Bold_Acrobat.png, TimesNewRomanMTStd-Bold_full.pdf, fop.xconf
>
>
> Some Latin Fonts cannot be embedded into PDF document.
> How to repeat
> 1. Get FOP from trunk@1811797
> 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@FuturaStd-Book.fo
> {noformat}
> java.io.IOException: illegal offset value 2949166 in CFF font
> at org.apache.fontbox.cff.CFFParser.readIndexDataOffsets(CFFParser.java:188)
> at org.apache.fontbox.cff.CFFParser.readIndexData(CFFParser.java:197)
> at org.apache.fontbox.cff.CFFParser.parseFont(CFFParser.java:460)
> at org.apache.fontbox.cff.CFFParser.parse(CFFParser.java:145)
> {noformat}
> GillSansStd.fo and TimesNewRomanMTStd-Bold.fo detects no Error in CFFParser.
> I attached the result of checking the CFF structure in Acrobat.
> [^GillSansStd_Acrobat.png]
> [^TimesNewRomanMTStd-Bold_Acrobat.png]
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)