[jira] [Updated] (FOP-2699) Acrobat Reader error with Morisawa Fonts

2018-05-16 Thread simon steiner (JIRA)

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

simon steiner updated FOP-2699:
---
Fix Version/s: 2.3

> Acrobat Reader error with Morisawa Fonts
> 
>
> 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
>Assignee: simon steiner
>Priority: Major
> Fix For: 2.3
>
> Attachments: fop.xconf, fop2.xconf, test.fo, test2.fo, test2.pdf, 
> test2_full.pdf, test_full.pdf, test_subset.pdf, workaround.patch
>
>
> 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
(v7.6.3#76005)


[jira] [Updated] (FOP-2699) Acrobat Reader error with Morisawa Fonts

2017-08-31 Thread Kazuyuki Murakami (JIRA)

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

Kazuyuki Murakami updated FOP-2699:
---
Attachment: (was: A-OTF-RyuminPr6N-Regular.otf)

> Acrobat Reader error with Morisawa Fonts
> 
>
> 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
>Assignee: simon steiner
> Attachments: fop2.xconf, fop.xconf, test2.fo, test2_full.pdf, 
> test2.pdf, test.fo, test_full.pdf, test_subset.pdf, workaround.patch
>
>
> 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.4.14#64029)


[jira] [Updated] (FOP-2699) Acrobat Reader error with Morisawa Fonts

2017-08-15 Thread Kazuyuki Murakami (JIRA)

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

Kazuyuki Murakami updated FOP-2699:
---
Attachment: test2_full.pdf
fop2.xconf
test2.fo
test2.pdf
A-OTF-RyuminPr6N-Regular.otf

Repeat Files:
conf: [^fop2.xconf]
font: [^A-OTF-RyuminPr6N-Regular.otf]
fo: [^test2.fo]
subset pdf (NG): [^test2.pdf]
full embed pdf (OK): [^test2_full.pdf]

> Acrobat Reader error with Morisawa Fonts
> 
>
> 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: A-OTF-RyuminPr6N-Regular.otf, fop2.xconf, fop.xconf, 
> test2.fo, test2_full.pdf, test2.pdf, test.fo, test_full.pdf, test_subset.pdf, 
> workaround.patch
>
>
> 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.4.14#64029)


[jira] [Updated] (FOP-2699) Acrobat Reader error with Morisawa Fonts

2017-07-23 Thread Kazuyuki Murakami (JIRA)

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

Kazuyuki Murakami updated FOP-2699:
---
Summary: Acrobat Reader error with Morisawa Fonts  (was: Acrobat Reader 
error with Morisawa ShinGo Pro R)

> Acrobat Reader error with Morisawa Fonts
> 
>
> 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, 
> workaround.patch
>
>
> 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.4.14#64029)