Uploaded image for project: 'Batik'
  1. Batik
  2. BATIK-1268

Does not render Indic text correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.11, 1.14
    • None
    • SVG Rasterizer
    • None
    • Ubuntu 18.04.3

    Description

      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.

      java -jar batik-slideshow-1.11.jar test-tamil-rendering.svg

      generated test-tamil-rendering.png. The text rendering here is faulty. 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.

      inkscape --export-area-page --without-gui --export-png=test-tamil-rendering.inkscape.png test-tamil-rendering.svg

      Also note that changing font (to Tamil specific font) did not improve/fix rendering.

      Attachments

        1. test-tamil-rendering.svg
          0.5 kB
          Ananth Pattabiraman
        2. test-tamil-rendering.png
          5 kB
          Ananth Pattabiraman
        3. test-tamil-rendering.inkscape.png
          7 kB
          Ananth Pattabiraman

        Activity

          People

            Unassigned Unassigned
            ananthp Ananth Pattabiraman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: