[jira] [Created] (BATIK-1268) Does not render Indic text correctly

"Ananth Pattabiraman (Jira)" <[email protected]> Wed, 2 Oct 2019 12:55:00 +0000 (UTC)
Newsgroups gmane.text.xml.batik.devel
Message-ID <[email protected]>
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-renderi=
ng.png, test-tamil-rendering.svg

Batik does not render unicode text of Indian languages correctly. I can dem=
onstrate the problem with Rasterizer, but the problem may be present with o=
ther 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. [C=
ompound form|https://en.wikipedia.org/wiki/Tamil_script#Compound_form] lett=
ers=C2=A0 are either detached (second letter =E0=AE=AE=E0=AE=BF), or wrong =
symbol attached and incompletely transformed (=E0=AE=B4=E0=AF=81, =E0=AE=A4=
=E0=AF=81). Positioning of dots above letters are off.

For comparison, see _test-tamil-rendering.inkscape.png_ for correct renderi=
ng. This file was generated by inkscape.
{noformat}
inkscape --export-area-page --without-gui --export-png=3Dtest-tamil-renderi=
ng.inkscape.png test-tamil-rendering.svg{noformat}
Also note that changing font (to Tamil specific font) did not improve/fix r=
endering.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)