[jira] [Commented] (FOP-2557) Adobe Reader report corrupt embedded font
[ https://issues.apache.org/jira/browse/FOP-2557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15075870#comment-15075870 ] chunlinyao commented on FOP-2557: - Read embedded stream by CFFParser, test_good.pdf is ok, test_fail2.pdf failed at reading stringindex. Exception in thread "main" java.lang.NegativeArraySizeException at org.apache.fontbox.cff.IndexData.initData(IndexData.java:95) at org.apache.fontbox.cff.CFFParser.readIndexData(CFFParser.java:162) at org.apache.fontbox.cff.CFFParser.parse(CFFParser.java:114) > Adobe Reader report corrupt embedded font > -- > > Key: FOP-2557 > URL: https://issues.apache.org/jira/browse/FOP-2557 > Project: FOP > Issue Type: Bug > Components: fo/block >Affects Versions: trunk > Environment: Mac OSX 10.10, JDK 1.8 >Reporter: chunlinyao > Attachments: fop.xconf, test_fail.xml, test_fail2.pdf, > test_fail2.xml, test_good.pdf, test_good.xml > > > When use NotoSansCJKSc regular font, If I don't include any number the > embedded subset is corrupt. > How to repeat > 1. Get FOP from trunk@1720811 > 2. Get Font from > https://github.com/googlei18n/noto-cjk/blob/40d9f5b179a59a06b98373c76bdc3e2119e4e6b2/NotoSansCJKsc-Regular.otf > 3. Use my config file and transform my fo files. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (FOP-2557) Adobe Reader report corrupt embedded font
[ https://issues.apache.org/jira/browse/FOP-2557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15075156#comment-15075156 ] Andreas L. Delmelle commented on FOP-2557: -- Just a quick check - Before sending fop-devs on a "wild goose chase": Are you absolutely certain this is really a FOP issue, and not related to the issues reported with the font itself? (see github - "Issues" tab, which has one that mentions "Adobe Reader fails to extract Noto Sans CJK from a PDF") > Adobe Reader report corrupt embedded font > -- > > Key: FOP-2557 > URL: https://issues.apache.org/jira/browse/FOP-2557 > Project: FOP > Issue Type: Bug > Components: fo/block >Affects Versions: trunk > Environment: Mac OSX 10.10, JDK 1.8 >Reporter: chunlinyao > Attachments: fop.xconf, test_fail.xml, test_fail2.xml, test_good.xml > > > When use NotoSansCJKSc regular font, If I don't include any number the > embedded subset is corrupt. > How to repeat > 1. Get FOP from trunk@1720811 > 2. Get Font from > https://github.com/googlei18n/noto-cjk/blob/40d9f5b179a59a06b98373c76bdc3e2119e4e6b2/NotoSansCJKsc-Regular.otf > 3. Use my config file and transform my fo files. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (FOP-2557) Adobe Reader report corrupt embedded font
[ https://issues.apache.org/jira/browse/FOP-2557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15075494#comment-15075494 ] Matthias Reischenbacher commented on FOP-2557: -- This might be related to issue #2460. > Adobe Reader report corrupt embedded font > -- > > Key: FOP-2557 > URL: https://issues.apache.org/jira/browse/FOP-2557 > Project: FOP > Issue Type: Bug > Components: fo/block >Affects Versions: trunk > Environment: Mac OSX 10.10, JDK 1.8 >Reporter: chunlinyao > Attachments: fop.xconf, test_fail.xml, test_fail2.xml, test_good.xml > > > When use NotoSansCJKSc regular font, If I don't include any number the > embedded subset is corrupt. > How to repeat > 1. Get FOP from trunk@1720811 > 2. Get Font from > https://github.com/googlei18n/noto-cjk/blob/40d9f5b179a59a06b98373c76bdc3e2119e4e6b2/NotoSansCJKsc-Regular.otf > 3. Use my config file and transform my fo files. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (FOP-2557) Adobe Reader report corrupt embedded font
[ https://issues.apache.org/jira/browse/FOP-2557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15075484#comment-15075484 ] chunlinyao commented on FOP-2557: - The issue on github mentioned that PDF was generated by iText 2.1.6 and use LibreOffice to generate PDF with same font doesn't have any issue. > Adobe Reader report corrupt embedded font > -- > > Key: FOP-2557 > URL: https://issues.apache.org/jira/browse/FOP-2557 > Project: FOP > Issue Type: Bug > Components: fo/block >Affects Versions: trunk > Environment: Mac OSX 10.10, JDK 1.8 >Reporter: chunlinyao > Attachments: fop.xconf, test_fail.xml, test_fail2.xml, test_good.xml > > > When use NotoSansCJKSc regular font, If I don't include any number the > embedded subset is corrupt. > How to repeat > 1. Get FOP from trunk@1720811 > 2. Get Font from > https://github.com/googlei18n/noto-cjk/blob/40d9f5b179a59a06b98373c76bdc3e2119e4e6b2/NotoSansCJKsc-Regular.otf > 3. Use my config file and transform my fo files. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (FOP-2557) Adobe Reader report corrupt embedded font
[ https://issues.apache.org/jira/browse/FOP-2557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15075468#comment-15075468 ] chunlinyao commented on FOP-2557: - But embedding full font will not report error. Maybe the font has some bug to create a subset. > Adobe Reader report corrupt embedded font > -- > > Key: FOP-2557 > URL: https://issues.apache.org/jira/browse/FOP-2557 > Project: FOP > Issue Type: Bug > Components: fo/block >Affects Versions: trunk > Environment: Mac OSX 10.10, JDK 1.8 >Reporter: chunlinyao > Attachments: fop.xconf, test_fail.xml, test_fail2.xml, test_good.xml > > > When use NotoSansCJKSc regular font, If I don't include any number the > embedded subset is corrupt. > How to repeat > 1. Get FOP from trunk@1720811 > 2. Get Font from > https://github.com/googlei18n/noto-cjk/blob/40d9f5b179a59a06b98373c76bdc3e2119e4e6b2/NotoSansCJKsc-Regular.otf > 3. Use my config file and transform my fo files. -- This message was sent by Atlassian JIRA (v6.3.4#6332)