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 "Kazuyuki Murakami (JIRA)" <ji...@apache.org> on 2017/10/12 10:25:00 UTC
[jira] [Created] (FOP-2751) Acrobat Reader error with some Latin
Fonts
Kazuyuki Murakami created FOP-2751:
--------------------------------------
Summary: 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
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 Japanese 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)