- From: Cameron McCormack <cam@mcc.id.au>
- Date: Wed, 18 May 2011 16:14:10 +1200
- To: Glenn Adams <glenn@skynav.com>
- Cc: Alex Danilo <alex@abbra.com>, public-svg-wg@w3.org
Glenn Adams: > Perhaps Batik is not correctly assigning the paragraph embedding level. > Since SVG doesn't have a paragraph construct per se, I would expect the > direction property on the <text/> element to determine the paragraph > embedding level. In Cameron's example, that was "rtl", which would make the > paragraph embedding level 0, not 1. Just a quick note to say that I believe that’s the intention: that <text> is treated like a block level element, and direction:rtl should affect the paragraph embedding level, while for direction to have any effect on <tspan>s unicode-bidi:bidi-override would be required. http://www.w3.org/TR/SVG/text.html#DirectionProperty says: This property specifies the base writing direction of text and the direction of embeddings and overrides (see ‘unicode-bidi’) for the Unicode bidirectional algorithm. For the ‘direction’ property to have any effect on an element that does not by itself establish a new text chunk (such as a ‘tspan’ element without absolute position adjustments due to ‘x’ or ‘y’ attributes), the ‘unicode-bidi’ property’s value must be embed or bidi-override. which doesn’t explicitly state that <text> is to be considered the paragraph, but I think it makes sense. -- Cameron McCormack ≝ http://mcc.id.au/
Received on Wednesday, 18 May 2011 04:14:41 UTC