[jira] [Comment Edited] (FOP-2697) Acrobat Reader error with Adobe Kozuka Mincho font
[ https://issues.apache.org/jira/browse/FOP-2697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15905164#comment-15905164 ] Kazuyuki Murakami edited comment on FOP-2697 at 3/10/17 2:41 PM: - new bug [FOP-2699] created. was (Author: murak...@brainsellers.com): I will create a new bug. > Acrobat Reader error with Adobe Kozuka Mincho font > -- > > Key: FOP-2697 > URL: https://issues.apache.org/jira/browse/FOP-2697 > Project: FOP > Issue Type: Bug > Components: font/opentype >Affects Versions: trunk > Environment: Operating Systems: Windows > JDK: 1.8 > OpenFont: Adobe Kozuka Mincho >Reporter: Kazuyuki Murakami >Assignee: simon steiner > Attachments: fop.xconf, fop.xconf, test2.fo, test3.fo, > test3_full.pdf, test3_subset.pdf, test.fo, test_KozukaMinchoPr6NR.pdf, > test_NotoSansCJKjp.pdf > > > The Kozuka Mincho Pr6N R font cannot be embedded into PDF document. > How to repeat > 1. Get FOP from trunk@1784735 > 2. Install Adobe Acrobat Reader DC Japanese language version. > 3. Get Font from C:\Program Files (x86)\Adobe\Acrobat > DC\Resource\CIDFont\KozMinPr6N-Regular.otf > 4. Use my config file and generate the PDF, there is no error reported. > 5. Open the PDF file in Acro-Reader, it will report the "cannot extract the > embedded font" error. > Notes > 1. When use the Noto Sans CJK JP and Kozuka Gothic Pr6N M fonts, there is no > problem. > 2. But NfMotoya Cedar Std W1 (Free Font, Regisration needed) and Morisawa > A-OTF Shin Go Pro R are failed. > 3. Read embedded stream by CFFParser, test_NotoSansCJKjp.pdf is ok, > test_KozukaMinchoPr6NR.pdf is failed at reading CharStringIndex. > java.io.EOFException > at org.apache.fontbox.cff.DataInput.readUnsignedShort(DataInput.java:151) > at org.apache.fontbox.cff.CFFDataInput.readCard16(CFFDataInput.java:55) > at org.apache.fontbox.cff.CFFParser.readIndexDataOffsets(CFFParser.java:172) > at org.apache.fontbox.cff.CFFParser.readIndexData(CFFParser.java:193) > at org.apache.fontbox.cff.CFFParser.parseFont(CFFParser.java:456) > at org.apache.fontbox.cff.CFFParser.parse(CFFParser.java:141) > CFFParser#parseFont() > // charstrings index > DictData.Entry charStringsEntry = topDict.getEntry("CharStrings"); > int charStringsOffset = charStringsEntry.getNumber(0).intValue(); // THIS > VALUE IS NEGATIVE!! > input.setPosition(charStringsOffset); > byte[][] charStringsIndex = readIndexData(input); -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Created] (FOP-2699) Acrobat Reader error with Morisawa ShinGo Pro R
Kazuyuki Murakami created FOP-2699: -- Summary: Acrobat Reader error with Morisawa ShinGo Pro R Key: FOP-2699 URL: https://issues.apache.org/jira/browse/FOP-2699 Project: FOP Issue Type: Bug Components: font/opentype Affects Versions: trunk Environment: Operating Systems: Windows JDK: 1.8 OpenFont: Morisawa ShinGo Pro R Reporter: Kazuyuki Murakami Attachments: fop.xconf, test.fo, test_full.pdf, test_subset.pdf The Morisawa ShinGo Pro R font cannot be embedded into PDF document. How to repeat 1. Get FOP from trunk@1786161 2. Get Font from https://github.com/skyavy-cebu/DoubleClick/blob/master/web/fonts/A-OTF-ShinGoPro-Regular.otf?raw=true 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. Notes: I can display normally with full embedding. (Please refer to test.fo, test_subset.pdf, test_full.pdf) When examining the subset font with CFFParser, the following Exception occurred. java.io.EOFException at org.apache.fontbox.cff.DataInput.readUnsignedShort(DataInput.java:151) at org.apache.fontbox.cff.CFFDataInput.readCard16(CFFDataInput.java:55) at org.apache.fontbox.cff.CFFParser.readIndexDataOffsets(CFFParser.java:172) at org.apache.fontbox.cff.CFFParser.readIndexData(CFFParser.java:193) at org.apache.fontbox.cff.CFFParser.parseCIDFontDicts(CFFParser.java:590) at org.apache.fontbox.cff.CFFParser.parseFont(CFFParser.java:503) at org.apache.fontbox.cff.CFFParser.parse(CFFParser.java:141) -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (FOP-2697) Acrobat Reader error with Adobe Kozuka Mincho font
[ https://issues.apache.org/jira/browse/FOP-2697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15905164#comment-15905164 ] Kazuyuki Murakami commented on FOP-2697: I will create a new bug. > Acrobat Reader error with Adobe Kozuka Mincho font > -- > > Key: FOP-2697 > URL: https://issues.apache.org/jira/browse/FOP-2697 > Project: FOP > Issue Type: Bug > Components: font/opentype >Affects Versions: trunk > Environment: Operating Systems: Windows > JDK: 1.8 > OpenFont: Adobe Kozuka Mincho >Reporter: Kazuyuki Murakami >Assignee: simon steiner > Attachments: fop.xconf, fop.xconf, test2.fo, test3.fo, > test3_full.pdf, test3_subset.pdf, test.fo, test_KozukaMinchoPr6NR.pdf, > test_NotoSansCJKjp.pdf > > > The Kozuka Mincho Pr6N R font cannot be embedded into PDF document. > How to repeat > 1. Get FOP from trunk@1784735 > 2. Install Adobe Acrobat Reader DC Japanese language version. > 3. Get Font from C:\Program Files (x86)\Adobe\Acrobat > DC\Resource\CIDFont\KozMinPr6N-Regular.otf > 4. Use my config file and generate the PDF, there is no error reported. > 5. Open the PDF file in Acro-Reader, it will report the "cannot extract the > embedded font" error. > Notes > 1. When use the Noto Sans CJK JP and Kozuka Gothic Pr6N M fonts, there is no > problem. > 2. But NfMotoya Cedar Std W1 (Free Font, Regisration needed) and Morisawa > A-OTF Shin Go Pro R are failed. > 3. Read embedded stream by CFFParser, test_NotoSansCJKjp.pdf is ok, > test_KozukaMinchoPr6NR.pdf is failed at reading CharStringIndex. > java.io.EOFException > at org.apache.fontbox.cff.DataInput.readUnsignedShort(DataInput.java:151) > at org.apache.fontbox.cff.CFFDataInput.readCard16(CFFDataInput.java:55) > at org.apache.fontbox.cff.CFFParser.readIndexDataOffsets(CFFParser.java:172) > at org.apache.fontbox.cff.CFFParser.readIndexData(CFFParser.java:193) > at org.apache.fontbox.cff.CFFParser.parseFont(CFFParser.java:456) > at org.apache.fontbox.cff.CFFParser.parse(CFFParser.java:141) > CFFParser#parseFont() > // charstrings index > DictData.Entry charStringsEntry = topDict.getEntry("CharStrings"); > int charStringsOffset = charStringsEntry.getNumber(0).intValue(); // THIS > VALUE IS NEGATIVE!! > input.setPosition(charStringsOffset); > byte[][] charStringsIndex = readIndexData(input); -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Issue Comment Deleted] (FOP-2697) Acrobat Reader error with Adobe Kozuka Mincho font
[ https://issues.apache.org/jira/browse/FOP-2697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kazuyuki Murakami updated FOP-2697: --- Comment: was deleted (was: Sorry, Morisawa ShinGo ProR font is chargeable, I can not be attached. Instead, I attached test3_full.pdf. In parallel, I'm looking for a free font to occurs the same error.) > Acrobat Reader error with Adobe Kozuka Mincho font > -- > > Key: FOP-2697 > URL: https://issues.apache.org/jira/browse/FOP-2697 > Project: FOP > Issue Type: Bug > Components: font/opentype >Affects Versions: trunk > Environment: Operating Systems: Windows > JDK: 1.8 > OpenFont: Adobe Kozuka Mincho >Reporter: Kazuyuki Murakami >Assignee: simon steiner > Attachments: fop.xconf, fop.xconf, test2.fo, test3.fo, > test3_full.pdf, test3_subset.pdf, test.fo, test_KozukaMinchoPr6NR.pdf, > test_NotoSansCJKjp.pdf > > > The Kozuka Mincho Pr6N R font cannot be embedded into PDF document. > How to repeat > 1. Get FOP from trunk@1784735 > 2. Install Adobe Acrobat Reader DC Japanese language version. > 3. Get Font from C:\Program Files (x86)\Adobe\Acrobat > DC\Resource\CIDFont\KozMinPr6N-Regular.otf > 4. Use my config file and generate the PDF, there is no error reported. > 5. Open the PDF file in Acro-Reader, it will report the "cannot extract the > embedded font" error. > Notes > 1. When use the Noto Sans CJK JP and Kozuka Gothic Pr6N M fonts, there is no > problem. > 2. But NfMotoya Cedar Std W1 (Free Font, Regisration needed) and Morisawa > A-OTF Shin Go Pro R are failed. > 3. Read embedded stream by CFFParser, test_NotoSansCJKjp.pdf is ok, > test_KozukaMinchoPr6NR.pdf is failed at reading CharStringIndex. > java.io.EOFException > at org.apache.fontbox.cff.DataInput.readUnsignedShort(DataInput.java:151) > at org.apache.fontbox.cff.CFFDataInput.readCard16(CFFDataInput.java:55) > at org.apache.fontbox.cff.CFFParser.readIndexDataOffsets(CFFParser.java:172) > at org.apache.fontbox.cff.CFFParser.readIndexData(CFFParser.java:193) > at org.apache.fontbox.cff.CFFParser.parseFont(CFFParser.java:456) > at org.apache.fontbox.cff.CFFParser.parse(CFFParser.java:141) > CFFParser#parseFont() > // charstrings index > DictData.Entry charStringsEntry = topDict.getEntry("CharStrings"); > int charStringsOffset = charStringsEntry.getNumber(0).intValue(); // THIS > VALUE IS NEGATIVE!! > input.setPosition(charStringsOffset); > byte[][] charStringsIndex = readIndexData(input); -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (FOP-2697) Acrobat Reader error with Adobe Kozuka Mincho font
[ https://issues.apache.org/jira/browse/FOP-2697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15905123#comment-15905123 ] simon steiner commented on FOP-2697: I suggest we create a new bug for Morisawa ShinGo ProR > Acrobat Reader error with Adobe Kozuka Mincho font > -- > > Key: FOP-2697 > URL: https://issues.apache.org/jira/browse/FOP-2697 > Project: FOP > Issue Type: Bug > Components: font/opentype >Affects Versions: trunk > Environment: Operating Systems: Windows > JDK: 1.8 > OpenFont: Adobe Kozuka Mincho >Reporter: Kazuyuki Murakami >Assignee: simon steiner > Attachments: fop.xconf, fop.xconf, test2.fo, test3.fo, > test3_full.pdf, test3_subset.pdf, test.fo, test_KozukaMinchoPr6NR.pdf, > test_NotoSansCJKjp.pdf > > > The Kozuka Mincho Pr6N R font cannot be embedded into PDF document. > How to repeat > 1. Get FOP from trunk@1784735 > 2. Install Adobe Acrobat Reader DC Japanese language version. > 3. Get Font from C:\Program Files (x86)\Adobe\Acrobat > DC\Resource\CIDFont\KozMinPr6N-Regular.otf > 4. Use my config file and generate the PDF, there is no error reported. > 5. Open the PDF file in Acro-Reader, it will report the "cannot extract the > embedded font" error. > Notes > 1. When use the Noto Sans CJK JP and Kozuka Gothic Pr6N M fonts, there is no > problem. > 2. But NfMotoya Cedar Std W1 (Free Font, Regisration needed) and Morisawa > A-OTF Shin Go Pro R are failed. > 3. Read embedded stream by CFFParser, test_NotoSansCJKjp.pdf is ok, > test_KozukaMinchoPr6NR.pdf is failed at reading CharStringIndex. > java.io.EOFException > at org.apache.fontbox.cff.DataInput.readUnsignedShort(DataInput.java:151) > at org.apache.fontbox.cff.CFFDataInput.readCard16(CFFDataInput.java:55) > at org.apache.fontbox.cff.CFFParser.readIndexDataOffsets(CFFParser.java:172) > at org.apache.fontbox.cff.CFFParser.readIndexData(CFFParser.java:193) > at org.apache.fontbox.cff.CFFParser.parseFont(CFFParser.java:456) > at org.apache.fontbox.cff.CFFParser.parse(CFFParser.java:141) > CFFParser#parseFont() > // charstrings index > DictData.Entry charStringsEntry = topDict.getEntry("CharStrings"); > int charStringsOffset = charStringsEntry.getNumber(0).intValue(); // THIS > VALUE IS NEGATIVE!! > input.setPosition(charStringsOffset); > byte[][] charStringsIndex = readIndexData(input); -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Comment Edited] (FOP-2697) Acrobat Reader error with Adobe Kozuka Mincho font
[ https://issues.apache.org/jira/browse/FOP-2697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15905123#comment-15905123 ] simon steiner edited comment on FOP-2697 at 3/10/17 2:07 PM: - I suggest we create a new bug for Morisawa ShinGo ProR, i found it by searching online for A-OTF-ShinGoPro-Regular.otf was (Author: ssteiner1): I suggest we create a new bug for Morisawa ShinGo ProR > Acrobat Reader error with Adobe Kozuka Mincho font > -- > > Key: FOP-2697 > URL: https://issues.apache.org/jira/browse/FOP-2697 > Project: FOP > Issue Type: Bug > Components: font/opentype >Affects Versions: trunk > Environment: Operating Systems: Windows > JDK: 1.8 > OpenFont: Adobe Kozuka Mincho >Reporter: Kazuyuki Murakami >Assignee: simon steiner > Attachments: fop.xconf, fop.xconf, test2.fo, test3.fo, > test3_full.pdf, test3_subset.pdf, test.fo, test_KozukaMinchoPr6NR.pdf, > test_NotoSansCJKjp.pdf > > > The Kozuka Mincho Pr6N R font cannot be embedded into PDF document. > How to repeat > 1. Get FOP from trunk@1784735 > 2. Install Adobe Acrobat Reader DC Japanese language version. > 3. Get Font from C:\Program Files (x86)\Adobe\Acrobat > DC\Resource\CIDFont\KozMinPr6N-Regular.otf > 4. Use my config file and generate the PDF, there is no error reported. > 5. Open the PDF file in Acro-Reader, it will report the "cannot extract the > embedded font" error. > Notes > 1. When use the Noto Sans CJK JP and Kozuka Gothic Pr6N M fonts, there is no > problem. > 2. But NfMotoya Cedar Std W1 (Free Font, Regisration needed) and Morisawa > A-OTF Shin Go Pro R are failed. > 3. Read embedded stream by CFFParser, test_NotoSansCJKjp.pdf is ok, > test_KozukaMinchoPr6NR.pdf is failed at reading CharStringIndex. > java.io.EOFException > at org.apache.fontbox.cff.DataInput.readUnsignedShort(DataInput.java:151) > at org.apache.fontbox.cff.CFFDataInput.readCard16(CFFDataInput.java:55) > at org.apache.fontbox.cff.CFFParser.readIndexDataOffsets(CFFParser.java:172) > at org.apache.fontbox.cff.CFFParser.readIndexData(CFFParser.java:193) > at org.apache.fontbox.cff.CFFParser.parseFont(CFFParser.java:456) > at org.apache.fontbox.cff.CFFParser.parse(CFFParser.java:141) > CFFParser#parseFont() > // charstrings index > DictData.Entry charStringsEntry = topDict.getEntry("CharStrings"); > int charStringsOffset = charStringsEntry.getNumber(0).intValue(); // THIS > VALUE IS NEGATIVE!! > input.setPosition(charStringsOffset); > byte[][] charStringsIndex = readIndexData(input); -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (FOP-2697) Acrobat Reader error with Adobe Kozuka Mincho font
[ https://issues.apache.org/jira/browse/FOP-2697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15905122#comment-15905122 ] Kazuyuki Murakami commented on FOP-2697: Sorry, Morisawa ShinGo ProR font is chargeable, I can not be attached. Instead, I attached test3_full.pdf. In parallel, I'm looking for a free font to occurs the same error. > Acrobat Reader error with Adobe Kozuka Mincho font > -- > > Key: FOP-2697 > URL: https://issues.apache.org/jira/browse/FOP-2697 > Project: FOP > Issue Type: Bug > Components: font/opentype >Affects Versions: trunk > Environment: Operating Systems: Windows > JDK: 1.8 > OpenFont: Adobe Kozuka Mincho >Reporter: Kazuyuki Murakami >Assignee: simon steiner > Attachments: fop.xconf, fop.xconf, test2.fo, test3.fo, > test3_full.pdf, test3_subset.pdf, test.fo, test_KozukaMinchoPr6NR.pdf, > test_NotoSansCJKjp.pdf > > > The Kozuka Mincho Pr6N R font cannot be embedded into PDF document. > How to repeat > 1. Get FOP from trunk@1784735 > 2. Install Adobe Acrobat Reader DC Japanese language version. > 3. Get Font from C:\Program Files (x86)\Adobe\Acrobat > DC\Resource\CIDFont\KozMinPr6N-Regular.otf > 4. Use my config file and generate the PDF, there is no error reported. > 5. Open the PDF file in Acro-Reader, it will report the "cannot extract the > embedded font" error. > Notes > 1. When use the Noto Sans CJK JP and Kozuka Gothic Pr6N M fonts, there is no > problem. > 2. But NfMotoya Cedar Std W1 (Free Font, Regisration needed) and Morisawa > A-OTF Shin Go Pro R are failed. > 3. Read embedded stream by CFFParser, test_NotoSansCJKjp.pdf is ok, > test_KozukaMinchoPr6NR.pdf is failed at reading CharStringIndex. > java.io.EOFException > at org.apache.fontbox.cff.DataInput.readUnsignedShort(DataInput.java:151) > at org.apache.fontbox.cff.CFFDataInput.readCard16(CFFDataInput.java:55) > at org.apache.fontbox.cff.CFFParser.readIndexDataOffsets(CFFParser.java:172) > at org.apache.fontbox.cff.CFFParser.readIndexData(CFFParser.java:193) > at org.apache.fontbox.cff.CFFParser.parseFont(CFFParser.java:456) > at org.apache.fontbox.cff.CFFParser.parse(CFFParser.java:141) > CFFParser#parseFont() > // charstrings index > DictData.Entry charStringsEntry = topDict.getEntry("CharStrings"); > int charStringsOffset = charStringsEntry.getNumber(0).intValue(); // THIS > VALUE IS NEGATIVE!! > input.setPosition(charStringsOffset); > byte[][] charStringsIndex = readIndexData(input); -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Issue Comment Deleted] (FOP-2697) Acrobat Reader error with Adobe Kozuka Mincho font
[ https://issues.apache.org/jira/browse/FOP-2697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] simon steiner updated FOP-2697: --- Comment: was deleted (was: Where can i get Morisawa ShinGo ProR ) > Acrobat Reader error with Adobe Kozuka Mincho font > -- > > Key: FOP-2697 > URL: https://issues.apache.org/jira/browse/FOP-2697 > Project: FOP > Issue Type: Bug > Components: font/opentype >Affects Versions: trunk > Environment: Operating Systems: Windows > JDK: 1.8 > OpenFont: Adobe Kozuka Mincho >Reporter: Kazuyuki Murakami >Assignee: simon steiner > Attachments: fop.xconf, fop.xconf, test2.fo, test3.fo, > test3_full.pdf, test3_subset.pdf, test.fo, test_KozukaMinchoPr6NR.pdf, > test_NotoSansCJKjp.pdf > > > The Kozuka Mincho Pr6N R font cannot be embedded into PDF document. > How to repeat > 1. Get FOP from trunk@1784735 > 2. Install Adobe Acrobat Reader DC Japanese language version. > 3. Get Font from C:\Program Files (x86)\Adobe\Acrobat > DC\Resource\CIDFont\KozMinPr6N-Regular.otf > 4. Use my config file and generate the PDF, there is no error reported. > 5. Open the PDF file in Acro-Reader, it will report the "cannot extract the > embedded font" error. > Notes > 1. When use the Noto Sans CJK JP and Kozuka Gothic Pr6N M fonts, there is no > problem. > 2. But NfMotoya Cedar Std W1 (Free Font, Regisration needed) and Morisawa > A-OTF Shin Go Pro R are failed. > 3. Read embedded stream by CFFParser, test_NotoSansCJKjp.pdf is ok, > test_KozukaMinchoPr6NR.pdf is failed at reading CharStringIndex. > java.io.EOFException > at org.apache.fontbox.cff.DataInput.readUnsignedShort(DataInput.java:151) > at org.apache.fontbox.cff.CFFDataInput.readCard16(CFFDataInput.java:55) > at org.apache.fontbox.cff.CFFParser.readIndexDataOffsets(CFFParser.java:172) > at org.apache.fontbox.cff.CFFParser.readIndexData(CFFParser.java:193) > at org.apache.fontbox.cff.CFFParser.parseFont(CFFParser.java:456) > at org.apache.fontbox.cff.CFFParser.parse(CFFParser.java:141) > CFFParser#parseFont() > // charstrings index > DictData.Entry charStringsEntry = topDict.getEntry("CharStrings"); > int charStringsOffset = charStringsEntry.getNumber(0).intValue(); // THIS > VALUE IS NEGATIVE!! > input.setPosition(charStringsOffset); > byte[][] charStringsIndex = readIndexData(input); -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (FOP-2697) Acrobat Reader error with Adobe Kozuka Mincho font
[ https://issues.apache.org/jira/browse/FOP-2697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15905083#comment-15905083 ] simon steiner commented on FOP-2697: Where can i get Morisawa ShinGo ProR > Acrobat Reader error with Adobe Kozuka Mincho font > -- > > Key: FOP-2697 > URL: https://issues.apache.org/jira/browse/FOP-2697 > Project: FOP > Issue Type: Bug > Components: font/opentype >Affects Versions: trunk > Environment: Operating Systems: Windows > JDK: 1.8 > OpenFont: Adobe Kozuka Mincho >Reporter: Kazuyuki Murakami >Assignee: simon steiner > Attachments: fop.xconf, fop.xconf, test2.fo, test3.fo, > test3_full.pdf, test3_subset.pdf, test.fo, test_KozukaMinchoPr6NR.pdf, > test_NotoSansCJKjp.pdf > > > The Kozuka Mincho Pr6N R font cannot be embedded into PDF document. > How to repeat > 1. Get FOP from trunk@1784735 > 2. Install Adobe Acrobat Reader DC Japanese language version. > 3. Get Font from C:\Program Files (x86)\Adobe\Acrobat > DC\Resource\CIDFont\KozMinPr6N-Regular.otf > 4. Use my config file and generate the PDF, there is no error reported. > 5. Open the PDF file in Acro-Reader, it will report the "cannot extract the > embedded font" error. > Notes > 1. When use the Noto Sans CJK JP and Kozuka Gothic Pr6N M fonts, there is no > problem. > 2. But NfMotoya Cedar Std W1 (Free Font, Regisration needed) and Morisawa > A-OTF Shin Go Pro R are failed. > 3. Read embedded stream by CFFParser, test_NotoSansCJKjp.pdf is ok, > test_KozukaMinchoPr6NR.pdf is failed at reading CharStringIndex. > java.io.EOFException > at org.apache.fontbox.cff.DataInput.readUnsignedShort(DataInput.java:151) > at org.apache.fontbox.cff.CFFDataInput.readCard16(CFFDataInput.java:55) > at org.apache.fontbox.cff.CFFParser.readIndexDataOffsets(CFFParser.java:172) > at org.apache.fontbox.cff.CFFParser.readIndexData(CFFParser.java:193) > at org.apache.fontbox.cff.CFFParser.parseFont(CFFParser.java:456) > at org.apache.fontbox.cff.CFFParser.parse(CFFParser.java:141) > CFFParser#parseFont() > // charstrings index > DictData.Entry charStringsEntry = topDict.getEntry("CharStrings"); > int charStringsOffset = charStringsEntry.getNumber(0).intValue(); // THIS > VALUE IS NEGATIVE!! > input.setPosition(charStringsOffset); > byte[][] charStringsIndex = readIndexData(input); -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (FOP-2435) AFP CMYK TIFF image data converted to AFP IOCA TIFF LZW compression algorithm
[ https://issues.apache.org/jira/browse/FOP-2435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15904854#comment-15904854 ] Jerome O'Flaherty commented on FOP-2435: Guys, Sorry for dragging up this old ticket but I am interested in understanding TIFF LZW in IOCA, I cannot find information about the way the TIFF in actually encoded within IOCA. I can decode the ImageBandData and the Tiles but the raw Bytes do not seem to match the actually TIFF LZW decoder format? Can anyone point me in the direction of a format specification and/or some sample code to decoder/encoder for IOCA Images with TIFF LZW compression? Thanks Jerome > AFP CMYK TIFF image data converted to AFP IOCA TIFF LZW compression algorithm > - > > Key: FOP-2435 > URL: https://issues.apache.org/jira/browse/FOP-2435 > Project: FOP > Issue Type: New Feature >Reporter: christian.pestel > Attachments: Image_TIFF_CMYK_32bits_LZW.tif, S1LOGEDR.afp > > > If the CMYK TIFFs image file is compressed (LZW), Fop decompress the data > during image loading and convert datas in AFP IOCA resource with these IFD > parameters > - Image Encoding Parameter: Compression algorithm: No Compression > - Image Encoding Parameter: Recording algorithm: RIDIC > > Is it possible to compress AFP data image ? > and set IFD parameters to > - Image Encoding Parameter: Compression algorithm: TIFF LZW > - Image Encoding Parameter: Recording algorithm: RIDIC -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (FOP-2697) Acrobat Reader error with Adobe Kozuka Mincho font
[ https://issues.apache.org/jira/browse/FOP-2697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15904762#comment-15904762 ] Kazuyuki Murakami commented on FOP-2697: Thank you to fix. I can now display correctly in the Kozuka Mincho font. However, Morisawa ShinGo ProR still has errors when opening PDF. I can display normally with full embedding. (Please refer to test3.fo, test3_subset.pdf, test3_full.pdf) When examining the subset font with CFFParser, the following Exception occurred. java.io.EOFException at org.apache.fontbox.cff.DataInput.readUnsignedShort(DataInput.java:151) at org.apache.fontbox.cff.CFFDataInput.readCard16(CFFDataInput.java:55) at org.apache.fontbox.cff.CFFParser.readIndexDataOffsets(CFFParser.java:172) at org.apache.fontbox.cff.CFFParser.readIndexData(CFFParser.java:193) at org.apache.fontbox.cff.CFFParser.parseCIDFontDicts(CFFParser.java:590) at org.apache.fontbox.cff.CFFParser.parseFont(CFFParser.java:503) at org.apache.fontbox.cff.CFFParser.parse(CFFParser.java:141) > Acrobat Reader error with Adobe Kozuka Mincho font > -- > > Key: FOP-2697 > URL: https://issues.apache.org/jira/browse/FOP-2697 > Project: FOP > Issue Type: Bug > Components: font/opentype >Affects Versions: trunk > Environment: Operating Systems: Windows > JDK: 1.8 > OpenFont: Adobe Kozuka Mincho >Reporter: Kazuyuki Murakami >Assignee: simon steiner > Attachments: fop.xconf, fop.xconf, test2.fo, test3.fo, > test3_full.pdf, test3_subset.pdf, test.fo, test_KozukaMinchoPr6NR.pdf, > test_NotoSansCJKjp.pdf > > > The Kozuka Mincho Pr6N R font cannot be embedded into PDF document. > How to repeat > 1. Get FOP from trunk@1784735 > 2. Install Adobe Acrobat Reader DC Japanese language version. > 3. Get Font from C:\Program Files (x86)\Adobe\Acrobat > DC\Resource\CIDFont\KozMinPr6N-Regular.otf > 4. Use my config file and generate the PDF, there is no error reported. > 5. Open the PDF file in Acro-Reader, it will report the "cannot extract the > embedded font" error. > Notes > 1. When use the Noto Sans CJK JP and Kozuka Gothic Pr6N M fonts, there is no > problem. > 2. But NfMotoya Cedar Std W1 (Free Font, Regisration needed) and Morisawa > A-OTF Shin Go Pro R are failed. > 3. Read embedded stream by CFFParser, test_NotoSansCJKjp.pdf is ok, > test_KozukaMinchoPr6NR.pdf is failed at reading CharStringIndex. > java.io.EOFException > at org.apache.fontbox.cff.DataInput.readUnsignedShort(DataInput.java:151) > at org.apache.fontbox.cff.CFFDataInput.readCard16(CFFDataInput.java:55) > at org.apache.fontbox.cff.CFFParser.readIndexDataOffsets(CFFParser.java:172) > at org.apache.fontbox.cff.CFFParser.readIndexData(CFFParser.java:193) > at org.apache.fontbox.cff.CFFParser.parseFont(CFFParser.java:456) > at org.apache.fontbox.cff.CFFParser.parse(CFFParser.java:141) > CFFParser#parseFont() > // charstrings index > DictData.Entry charStringsEntry = topDict.getEntry("CharStrings"); > int charStringsOffset = charStringsEntry.getNumber(0).intValue(); // THIS > VALUE IS NEGATIVE!! > input.setPosition(charStringsOffset); > byte[][] charStringsIndex = readIndexData(input); -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Updated] (FOP-2697) Acrobat Reader error with Adobe Kozuka Mincho font
[ https://issues.apache.org/jira/browse/FOP-2697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kazuyuki Murakami updated FOP-2697: --- Attachment: test3_subset.pdf test3_full.pdf test3.fo fop.xconf > Acrobat Reader error with Adobe Kozuka Mincho font > -- > > Key: FOP-2697 > URL: https://issues.apache.org/jira/browse/FOP-2697 > Project: FOP > Issue Type: Bug > Components: font/opentype >Affects Versions: trunk > Environment: Operating Systems: Windows > JDK: 1.8 > OpenFont: Adobe Kozuka Mincho >Reporter: Kazuyuki Murakami >Assignee: simon steiner > Attachments: fop.xconf, fop.xconf, test2.fo, test3.fo, > test3_full.pdf, test3_subset.pdf, test.fo, test_KozukaMinchoPr6NR.pdf, > test_NotoSansCJKjp.pdf > > > The Kozuka Mincho Pr6N R font cannot be embedded into PDF document. > How to repeat > 1. Get FOP from trunk@1784735 > 2. Install Adobe Acrobat Reader DC Japanese language version. > 3. Get Font from C:\Program Files (x86)\Adobe\Acrobat > DC\Resource\CIDFont\KozMinPr6N-Regular.otf > 4. Use my config file and generate the PDF, there is no error reported. > 5. Open the PDF file in Acro-Reader, it will report the "cannot extract the > embedded font" error. > Notes > 1. When use the Noto Sans CJK JP and Kozuka Gothic Pr6N M fonts, there is no > problem. > 2. But NfMotoya Cedar Std W1 (Free Font, Regisration needed) and Morisawa > A-OTF Shin Go Pro R are failed. > 3. Read embedded stream by CFFParser, test_NotoSansCJKjp.pdf is ok, > test_KozukaMinchoPr6NR.pdf is failed at reading CharStringIndex. > java.io.EOFException > at org.apache.fontbox.cff.DataInput.readUnsignedShort(DataInput.java:151) > at org.apache.fontbox.cff.CFFDataInput.readCard16(CFFDataInput.java:55) > at org.apache.fontbox.cff.CFFParser.readIndexDataOffsets(CFFParser.java:172) > at org.apache.fontbox.cff.CFFParser.readIndexData(CFFParser.java:193) > at org.apache.fontbox.cff.CFFParser.parseFont(CFFParser.java:456) > at org.apache.fontbox.cff.CFFParser.parse(CFFParser.java:141) > CFFParser#parseFont() > // charstrings index > DictData.Entry charStringsEntry = topDict.getEntry("CharStrings"); > int charStringsOffset = charStringsEntry.getNumber(0).intValue(); // THIS > VALUE IS NEGATIVE!! > input.setPosition(charStringsOffset); > byte[][] charStringsIndex = readIndexData(input); -- This message was sent by Atlassian JIRA (v6.3.15#6346)