W3C home > Mailing lists > Public > www-style@w3.org > November 2006

Re: Rendering of Svg Font

From: Chris Lilley <chris@w3.org>
Date: Tue, 7 Nov 2006 00:48:27 +0100
Message-ID: <1498803160.20061107004827@w3.org>
To: "Jose" <jose_stephen@cdactvm.in>
Cc: www-style@w3.org

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:47 GMT