You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by "Ananth Pattabiraman (Jira)" <ji...@apache.org> on 2022/02/06 19:27:00 UTC

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

     [ https://issues.apache.org/jira/browse/BATIK-1268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ananth Pattabiraman updated BATIK-1268:
---------------------------------------
    Affects Version/s: 1.14

> 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, 1.14
>         Environment: Ubuntu 18.04.3
>            Reporter: Ananth Pattabiraman
>            Priority: Major
>         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.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org