Re: Rendering of Svg Font

On Monday, November 6, 2006, 12:06:59 PM, Jose wrote:


J> In SVG document the font is rendered in logical order

No. In an SVG document (or indeed any XML) the text is *stored* in logical order.

How its rendered depends on the language.
 
J>  but in
J> Malayalam (an indic language) the rendering of some character are
J> different from it's logical order.

Yes.

J> For eg:-

J>   1.. Malayalam letter KA (0D15) + Malayalam Vowel sign E (0D46) has
J> to be  rendered as Malayalam Vowel sign E (0D46) + Malayalam letter KA (0D15)
J>  

J>   2.. Malayalam letter KA (0D15) + Malayalam Vowel sign O (0D4A) has
J> to be  rendered as Malayalam Vowel sign E (0D46) + Malayalam letter
J> KA (0D15)+ Malayalam Vowel sign AA (0D46) etc.. 
J> Can anyone suggest any method to introduce correct rendering to such combinations?

The renderer needs to have a font available which supports this language.

Trying to 'fix' this up by altering the text would be a bad idea (same as trying to 'fix' Hebrew by changing the SVG to put the characters in visual order would be incorrect).



-- 
 Chris Lilley                    mailto:chris@w3.org
 Interaction Domain Leader
 Co-Chair, W3C SVG Working Group
 W3C Graphics Activity Lead
 Co-Chair, W3C Hypertext CG

Received on Monday, 6 November 2006 23:48:40 UTC