Re: I18N-ISSUE-8: Direction attributes needed [WOFF]

Chris Lilley <[email protected]>
Newsgroups gmane.comp.web.fonts
Organization W3C
Message-ID <[email protected]>
On Thursday, January 13, 2011, 12:17:11 AM, Kang-Hao wrote:

>> ICWGIT>  It should be possible to use markup to set the base direction
>> ICWGIT>  of any element in order to enable correct display of
>> ICWGIT>  bidirectional text.  We suggest a dir attribute with the
>> ICWGIT>  values rtl and ltr as a minimum.

>> I suggest that we accept this comment. This would be consistent with other markup at W3C like HTML and SVG.

>> Richard, I assume that the attribute would be optional and that, if omitted, the text direction would be determined by the Unicode directionality of the first character?

KHKL> I haven't looked at SVG but in HTML the default value is "ltr", and what
KHKL> you described is similar to the newly speced dir="auto" behavior in HTML5.

SVG has the same default
http://www.w3.org/TR/SVGTiny12/text.html#DirectionProperty

KHKL> I don't know which is better in WOFF. Did we discuss this in the i18n 
KHKL> call yesterday? I couldn't really participate due to connection issues.

There were a lot of connection issues yesterday, happily since resolved.

-- 
 Chris Lilley   Technical Director, Interaction Domain                 
 W3C Graphics Activity Lead, Fonts Activity Lead
 Co-Chair, W3C Hypertext CG
 Member, CSS, WebFonts, SVG Working Groups
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.