[jira] [Updated] (FOP-2557) [PATCH] Adobe Reader report corrupt embedded font
[ https://issues.apache.org/jira/browse/FOP-2557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] chunlinyao updated FOP-2557: Attachment: patch_with_fixed_test_case-20160304.txt A new path include OTFSubSetFileTestCase fixes > [PATCH] 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 > Labels: patch > Attachments: fop.xconf, patch.txt, patch20160104.txt, > patch_20160102.txt, patch_with_fixed_test_case-20160304.txt, test_fail.xml, > test_fail2.pdf, test_fail2.xml, test_good.pdf, test_good.xml, testbigset.pdf, > testbigset.xml, testbigset_full.pdf > > > 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] [Updated] (FOP-2557) [PATCH] Adobe Reader report corrupt embedded font
[ https://issues.apache.org/jira/browse/FOP-2557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] chunlinyao updated FOP-2557: Labels: patch (was: ) > [PATCH] 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 > Labels: patch > Attachments: fop.xconf, patch.txt, patch20160104.txt, > patch_20160102.txt, test_fail.xml, test_fail2.pdf, test_fail2.xml, > test_good.pdf, test_good.xml, testbigset.pdf, testbigset.xml, > testbigset_full.pdf > > > 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] [Updated] (FOP-2557) [PATCH] Adobe Reader report corrupt embedded font
[ https://issues.apache.org/jira/browse/FOP-2557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] chunlinyao updated FOP-2557: Attachment: patch20160104.txt An updated patch, Which cache the hint mask length after call preScanForSubsetIndexSize. Will speed up the readCharStringData method. Tested with testbigset.xml shown createCharStringDataCID method got 20% faster. > [PATCH] 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, patch.txt, patch20160104.txt, > patch_20160102.txt, test_fail.xml, test_fail2.pdf, test_fail2.xml, > test_good.pdf, test_good.xml, testbigset.pdf, testbigset.xml, > testbigset_full.pdf > > > 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] [Updated] (FOP-2557) [PATCH] Adobe Reader report corrupt embedded font
[ https://issues.apache.org/jira/browse/FOP-2557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] chunlinyao updated FOP-2557: Attachment: testbigset.xml testbigset.pdf testbigset_full.pdf patch_20160102.txt After test with OTF subset. I found there are other bugs related to embedded subset. I created a test file which contains over 5 different glyphs (testbigset.xml). I tested It against Noto Sans font. fop throw ArrayIndexOutOfBoundsException in many place and some glyphs displayed as garbage. The `patch_20160102.txt` fixed these bugs. Finally I got a output `testbigset.pdf` which is displayed same as full embedded file `testbigset_full.pdf`. SomeBugs 1. IndexData.getValue AIOBE 2. when parse Type2 charstring, mask length of operator 19 and 20 not correct. 3. getNewRef operand between -108 and -1131 not encoded correctly. > [PATCH] 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, patch.txt, patch_20160102.txt, test_fail.xml, > test_fail2.pdf, test_fail2.xml, test_good.pdf, test_good.xml, testbigset.pdf, > testbigset.xml, testbigset_full.pdf > > > 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] [Updated] (FOP-2557) [PATCH] Adobe Reader report corrupt embedded font
[ https://issues.apache.org/jira/browse/FOP-2557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] simon steiner updated FOP-2557: --- Summary: [PATCH] Adobe Reader report corrupt embedded font (was: Adobe Reader report corrupt embedded font ) > [PATCH] 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, patch.txt, 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)