[
https://issues.apache.org/jira/browse/FOP-3361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr updated FOP-3361:
---------------------------------
Description:
Thank you for supporting Bengali. I noticed it when updating that a test failed
because the result was better. This is what we're trying to output (the
possible bug is only in the beginning of the left part):
হ্যালো ওয়ার্ল্ড
Output with FOP:
!screenshot-1.png!
Output with AWT:
!screenshot-2.png!
Our test:
https://github.com/apache/pdfbox/blob/trunk/pdfbox-layout-fop/src/test/java/org/apache/pdfbox/glyphlayout/fop/GlyphLayoutLigaturesAndKerningTest.java
Our usage of FOP:
https://github.com/apache/pdfbox/blob/trunk/pdfbox-layout-fop/src/main/java/org/apache/pdfbox/glyphlayout/fop/GlyphLayoutProcessorFop.java
I haven't tried to do it with "pure" fop, but here's a .FO file that may help
to do it (replace the text)
https://issues.apache.org/jira/secure/attachment/13083103/bengali.fo
was:
Thank you for supporting Bengali. I noticed it when updating that a test failed
because the result was better. This is what we're trying to output:
হ্যালো ওয়ার্ল্ড
Output with FOP:
!screenshot-1.png!
Output with AWT:
!screenshot-2.png!
Our test:
https://github.com/apache/pdfbox/blob/trunk/pdfbox-layout-fop/src/test/java/org/apache/pdfbox/glyphlayout/fop/GlyphLayoutLigaturesAndKerningTest.java
Our usage of FOP:
https://github.com/apache/pdfbox/blob/trunk/pdfbox-layout-fop/src/main/java/org/apache/pdfbox/glyphlayout/fop/GlyphLayoutProcessorFop.java
I haven't tried to do it with "pure" fop, but here's a .FO file that may help
to do it (replace the text)
https://issues.apache.org/jira/secure/attachment/13083103/bengali.fo
> Possible Bengali flaw
> ---------------------
>
> Key: FOP-3361
> URL: https://issues.apache.org/jira/browse/FOP-3361
> Project: FOP
> Issue Type: Bug
> Affects Versions: 2.12
> Reporter: Tilman Hausherr
> Priority: Major
> Attachments: screenshot-1.png, screenshot-2.png
>
>
> Thank you for supporting Bengali. I noticed it when updating that a test
> failed because the result was better. This is what we're trying to output
> (the possible bug is only in the beginning of the left part):
> হ্যালো ওয়ার্ল্ড
> Output with FOP:
> !screenshot-1.png!
> Output with AWT:
> !screenshot-2.png!
> Our test:
> https://github.com/apache/pdfbox/blob/trunk/pdfbox-layout-fop/src/test/java/org/apache/pdfbox/glyphlayout/fop/GlyphLayoutLigaturesAndKerningTest.java
> Our usage of FOP:
> https://github.com/apache/pdfbox/blob/trunk/pdfbox-layout-fop/src/main/java/org/apache/pdfbox/glyphlayout/fop/GlyphLayoutProcessorFop.java
> I haven't tried to do it with "pure" fop, but here's a .FO file that may help
> to do it (replace the text)
> https://issues.apache.org/jira/secure/attachment/13083103/bengali.fo
--
This message was sent by Atlassian Jira
(v8.20.10#820010)