[jira] [Commented] (FOP-2491) [PATCH] Adobe Reader error with OTF subset PDF

2015-09-15 Thread Hua Lan (JIRA)

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

Hua Lan commented on FOP-2491:
--

With the fixed OTFSubSetFile class, I have another issue when using the 
embedding-mode="subset". 
I tested the string "new font, new world" in different languages. 

For Simplified Chinese("新字体,新世界"):
the character '界' is not vertically aligned with the other characters in the 
same line. 

For Traditional Chinese("新字體,新世界"):
it pops up with the message "Cannot extract the embedded font 
'EXX+NotoSansCJKTC'" and it doesn't generate the correct output.

For Japanese('新しいフォント、新しい世界'):
the character '新' and '界' are not vertically aligned with the other characters 
in the same line.

For Korean('새 글꼴 , 새로운 세계'):
it generates the correct output.



> [PATCH] Adobe Reader error with OTF subset PDF
> --
>
> Key: FOP-2491
> URL: https://issues.apache.org/jira/browse/FOP-2491
> Project: FOP
>  Issue Type: Bug
>Affects Versions: 2.0
> Environment: FOP: 2.0
> Open Font: Noto-Sans Cjk 
> (https://noto-website.storage.googleapis.com/pkgs/NotoSansCJKTC-hinted.zip)
>Reporter: Leo Yang
> Attachments: after.pdf, before.pdf, fop.xconf, svnSubset.patch, 
> test.fo
>
>
> Symptom: Based on FOP 2.0 release, the open-type font can be embedded into 
> PDF document, however, based on the testing with FOP 2.0, the 
> google-noto-sans-Cjk font cannot be embedded into PDF document.
> How to repeat:
>  1. Get FOP 2.0 library.
>  2. Get Google-Noto-Sans from 
> https://noto-website.storage.googleapis.com/pkgs/NotoSansCJKTC-hinted.zip.
>  3. Set the fop.xconf as following:
>  
>   weight="normal"/>
>  
>  4. Set the FOP as following:
>  
>  http://www.w3.org/1999/XSL/Format";>
>  
>   master-name="A4-portrait">
>  
>  
>  
>  
>  
>  Hello Noto-OTF!
>  
>  
>  
>  5. Generate the PDF, there is no error reported.
>  6. 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.3.4#6332)


[jira] [Commented] (FOP-2491) [PATCH] Adobe Reader error with OTF subset PDF

2015-08-12 Thread simon steiner (JIRA)

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

simon steiner commented on FOP-2491:


Added http://svn.apache.org/viewvc?view=revision&revision=1695526

> [PATCH] Adobe Reader error with OTF subset PDF
> --
>
> Key: FOP-2491
> URL: https://issues.apache.org/jira/browse/FOP-2491
> Project: FOP
>  Issue Type: Bug
>Affects Versions: 2.0
> Environment: FOP: 2.0
> Open Font: Noto-Sans Cjk 
> (https://noto-website.storage.googleapis.com/pkgs/NotoSansCJKTC-hinted.zip)
>Reporter: Leo Yang
> Attachments: after.pdf, before.pdf, fop.xconf, svnSubset.patch, 
> test.fo
>
>
> Symptom: Based on FOP 2.0 release, the open-type font can be embedded into 
> PDF document, however, based on the testing with FOP 2.0, the 
> google-noto-sans-Cjk font cannot be embedded into PDF document.
> How to repeat:
>  1. Get FOP 2.0 library.
>  2. Get Google-Noto-Sans from 
> https://noto-website.storage.googleapis.com/pkgs/NotoSansCJKTC-hinted.zip.
>  3. Set the fop.xconf as following:
>  
>   weight="normal"/>
>  
>  4. Set the FOP as following:
>  
>  http://www.w3.org/1999/XSL/Format";>
>  
>   master-name="A4-portrait">
>  
>  
>  
>  
>  
>  Hello Noto-OTF!
>  
>  
>  
>  5. Generate the PDF, there is no error reported.
>  6. 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.3.4#6332)