You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "Kazuyuki Murakami (JIRA)" <ji...@apache.org> on 2017/09/04 11:00:00 UTC

[jira] [Comment Edited] (FOP-2735) Acrobat Reader error with Hiragino Fonts

    [ https://issues.apache.org/jira/browse/FOP-2735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16152443#comment-16152443 ] 

Kazuyuki Murakami edited comment on FOP-2735 at 9/4/17 10:59 AM:
-----------------------------------------------------------------

In CFFParser

{noformat}
java.lang.NegativeArraySizeException
        at org.apache.fontbox.cff.DataInput.readBytes(DataInput.java:186)
        at org.apache.fontbox.cff.CFFParser.readIndexData(CFFParser.java:203)
        at org.apache.fontbox.cff.CFFParser.parseCIDFontDicts(CFFParser.java:547)
        at org.apache.fontbox.cff.CFFParser.parseFont(CFFParser.java:502)
        at org.apache.fontbox.cff.CFFParser.parse(CFFParser.java:141)
{noformat}


was (Author: murakami@brainsellers.com):
In CFFParser

{noformat}
java.lang.NegativeArraySizeException
	at org.apache.fontbox.cff.DataInput.readBytes(DataInput.java:186)
	at org.apache.fontbox.cff.CFFParser.readIndexData(CFFParser.java:207)
	at org.apache.fontbox.cff.CFFParser.parseCIDFontDicts(CFFParser.java:592)
	at org.apache.fontbox.cff.CFFParser.parseFont(CFFParser.java:506)
	at org.apache.fontbox.cff.CFFParser.parse(CFFParser.java:145)
{noformat}

> Acrobat Reader error with Hiragino Fonts
> ----------------------------------------
>
>                 Key: FOP-2735
>                 URL: https://issues.apache.org/jira/browse/FOP-2735
>             Project: FOP
>          Issue Type: Bug
>          Components: font/opentype
>    Affects Versions: trunk
>         Environment: Operating Systems: Windows 
> JDK: 1.8 
> OpenFont: Hiragino Kaku Gothic StdN
>            Reporter: Kazuyuki Murakami
>         Attachments: fop.xconf, HiraKakuStdN-W3.otf, test.fo, test_full.pdf, test_subset.pdf
>
>
> The "Hiragino Kaku Gothic StdN" font cannot be embedded into PDF document.
> How to repeat
> 1. Get FOP from trunk@1806787
> 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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)