Closed claudius108 closed 4 years ago
@claudius108 : Claudius, (i) could you provide us with the text (as opposed to the image - I'm not a speaker/reader of the language and I cannot duplicate the text to try to reproduce the problem) and (ii) what should be the right rendering of the "small (but important) differences" (could you take a photo?) and where was the right rendering obtained (which system with which font)? This would help us to define the goal and enable non-speakers to test it.
Hi,
The test is in the attached FO file, and I am adding it here, too: कारणत्त्वङ्गवाश्वादीनमपीति चेत् युक्तम्.
I attached an image showing the small vertical lines that are missing in FOP output. To see what is missing, one needs just to convert the attached FO file to PDF with FOP 2.1.
In order to show the correct rendering, I took the correct text from an XML file and simply created a PNG file by using gimp on Ubuntu.
If you need more details, please ask.
thank you
@claudius108 Given that you can get the correct shaping result with GIMP while you can't with FOP 2.1, it's most likely that it's not a font bug but a bug in FOP (or a PDF viewer). Have you contacted FOP folks about this issue?
Can you also attach a PDF file you generated with FOP with this problem? Do you have the same issue when the target format is PNG instead of PDF?
I filed a FOP issue, indeed, see https://issues.apache.org/jira/browse/FOP-2454.
I attached a PDF file. noto-sans-devanagari.pdf
I attached the output for PNG generation.
Test case created.
It is much better, thanks.
Great! Thank you
Hi,
Thank you for this nice initiative!
I tested Noto Sans Devanagari with the attached fo file, and there are some small (but important) differences in the generated PDF. For testing, you will just need to updated the path to the image in fo:external-graphic/@src.
Claudius Teodorescu, University of Heidelberg, Germany