[ https://issues.apache.org/jira/browse/FOP-2751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16202040#comment-16202040 ]
simon steiner commented on FOP-2751: ------------------------------------ http://svn.apache.org/viewvc?view=revision&revision=1811970 > 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. > cffpar...@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)