Ananth Pattabiraman created BATIK-1268:
------------------------------------------
Summary: Does not render Indic text correctly
Key: BATIK-1268
URL: https://issues.apache.org/jira/browse/BATIK-1268
Project: Batik
Issue Type: Bug
Components: SVG Rasterizer
Affects Versions: 1.11
Environment: Ubuntu 18.04.3
Reporter: Ananth Pattabiraman
Attachments: test-tamil-rendering.inkscape.png,
test-tamil-rendering.png, test-tamil-rendering.svg
Batik does not render unicode text of Indian languages correctly. I can
demonstrate the problem with Rasterizer, but the problem may be present with
other modules as well.
Here is a simple svg file with Tamil text (attachment:
test-tamil-rendering.svg) rendered to png by Batik and Inkscape for comparison.
{noformat}
java -jar batik-slideshow-1.11.jar test-tamil-rendering.svg{noformat}
generated _test-tamil-rendering.png_. The text rendering here is faulty.
[Compound form|https://en.wikipedia.org/wiki/Tamil_script#Compound_form]
letters are either detached (second letter மி), or wrong symbol attached and
incompletely transformed (ழு, து). Positioning of dots above letters are off.
For comparison, see _test-tamil-rendering.inkscape.png_ for correct rendering.
This file was generated by inkscape.
{noformat}
inkscape --export-area-page --without-gui
--export-png=test-tamil-rendering.inkscape.png
test-tamil-rendering.svg{noformat}
Also note that changing font (to Tamil specific font) did not improve/fix
rendering.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]