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 "Paritosh (Jira)" <ji...@apache.org> on 2023/05/03 07:02:00 UTC

[jira] [Created] (BATIK-1355) SVG to PNG Rendering Issue due to some missing Arabic Characters

Paritosh created BATIK-1355:
-------------------------------

             Summary: SVG to PNG Rendering Issue due to some missing Arabic Characters
                 Key: BATIK-1355
                 URL: https://issues.apache.org/jira/browse/BATIK-1355
             Project: Batik
          Issue Type: Bug
          Components: GVT Text
    Affects Versions: 1.10
            Reporter: Paritosh
             Fix For: 1.10


Upon checking the list of Arabic characters [here|https://asecuritysite.com/coding/asc2?val=1536%2C1792] the supported character according to ArabicTextHandler are from 0x622 to 0x652. The total number of characters between hex 0x622 to 0x652 according to the website there are 49 characters in total for which mapping should be present, but currently there are only 43 entries in doubleCharRemappings array in /batik/gvt/text/ArabicTextHandler.java file

These 6 characters are missing from the map
||ت||1578||0000011000101010||62a||3052||ت||
|ث|1579|0000011000101011|62b|3053|ث|
|ج|1580|0000011000101100|62c|3054|ج|
|ح|1581|0000011000101101|62d|3055|ح|
|خ|1582|0000011000101110|62e|3056|خ|
|د|1583|0000011000101111|62f|3057|د|

 

Pull Request --> https://github.com/apache/xmlgraphics-batik/pull/36



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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