[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fop-dev
Subject:    [jira] [Updated] (FOP-2751) Acrobat Reader error with some Latin Fonts
From:       "Kazuyuki Murakami (JIRA)" <jira () apache ! org>
Date:       2017-10-19 7:04:00
Message-ID: JIRA.13108873.1507803883000.5737.1508396640136 () Atlassian ! JIRA
[Download RAW message or body]


     [ https://issues.apache.org/jira/browse/FOP-2751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]

Kazuyuki Murakami updated FOP-2751:
-----------------------------------
    Attachment:     (was: GillSansStd.otf)

> 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.pdf, FuturaStd-Book_full.pdf, \
> GillSansStd.fo, GillSansStd.pdf, GillSansStd_Acrobat.png, GillSansStd_full.pdf, \
> TimesNewRomanMTStd-Bold.fo, 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)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic