W3C home > Mailing lists > Public > www-svg@w3.org > November 2008

Re: [1.2T-LC] text-align and text-anchor with direction (ISSUE-2171)

From: Doug Schepers <schepers@w3.org>
Date: Mon, 03 Nov 2008 11:27:06 -0500
Message-ID: <490F265A.4030100@w3.org>
To: fantasai <fantasai.lists@inkedblade.net>
CC: Richard Ishida <ishida@w3.org>, www-svg@w3.org, public-i18n-core@w3.org

Hi, fantasai-

fantasai wrote (on 11/3/08 1:11 AM):
>> [[
>> Within text content elements, the alignment of text with regards to the
>> 'text-anchor' or 'text-align'  properties is determined by the values of
>> the 'direction' and 'unicode-bidi'  properties. For example, given a
>> 'text' element with a 'text-anchor'  value of "end", for a 'direction'
>> value of "ltr", the text will extend to the left of the position of the
>> 'text' element's 'x'  attribute value, while for 'direction'  value of
>> "rtl", the text will extend to the right of the position of the 'text'
>> element's 'x'  attribute value.
>> ]]
>> Please let us know right away if this satisfies your comment, or if not,
>> what changes we can make to do so.
> A. 'unicode-bidi' should have no effect. Remove that from your sentence.

I was rather suspect about that myself, but it was late when I wrote
that passage.

> B. This does not make the necessary normative changes to the definitions
>    of 'start' and 'end' for text-anchor and text-align. 'start' and 'end'
>    should be defined in terms of 'direction'.

I've changed the definitions of 'text-anchor' [1] and 'text-align' [2]
as you suggest (indeed, the bit in 'text-anchor' about start=left in
Arabic was flat-out wrong).

Please let us know posthaste if these changes satisfy your comment.

[2] http://dev.w3.org/SVG/profiles/1.2T/publish/text.html#TextAlignProperty

Received on Monday, 3 November 2008 16:27:15 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:21 UTC