- From: Richard Ishida <ishida@w3.org>
- Date: Fri, 7 Nov 2008 23:06:05 -0000
- To: "'Chris Lilley'" <chris@w3.org>, "'Doug Schepers'" <schepers@w3.org>, <public-i18n-core@w3.org>
Chaps, I figured that while the information was still fresh in my brain after doing all the tests, I should write a tutorial on how to use the bidi features of SVG Tiny. Thought I'd let you know that I'm doing so. You can find the text so far at http://www.w3.org/International/tutorials/bidi-svg/ I'm building it off a similar tutorial for XHTML, and I'm about half way through at the moment. I hope my SVG examples are ok. I'm no expert. hth RI PS: Chris, I did think about and look again at what we discussed on the phone wrt first character determining direction and need for unicode-bidi on svg tag, and I believe I was right. I've written the tutorial on that basis. Unicode-bidi embed is only needed for tspans, although unicode-bidi override can be used effectively on text or textArea elements, I believe. This is how CSS works, too. (Elika clarified some of these things in her discussions with Doug based on her experience writing the CSS stuff.) See for example, in the SVG Tiny text "For other cases, such as when using right-to-left languages, it may be sufficient to add the 'direction' property to the rootmost 'svg' element, and allow that direction to inherit to all text elements, as in the following example..." (no mention of unicode-bidi, on purpose) and "For the 'direction' property to have any effect on an element that does not by itself establish a new text chunk (such as the 'tspan' element in SVG 1.2 Tiny), the 'unicode-bidi' property's value must be embed or bidi-override." (again referring specifically to inline elements rather than block elements). ============ Richard Ishida Internationalization Lead W3C (World Wide Web Consortium) http://www.w3.org/International/ http://rishida.net/
Received on Friday, 7 November 2008 23:06:16 UTC