W3C home > Mailing lists > Public > public-i18n-bidi@w3.org > July to September 2010

Re: per-paragraph auto-direction, a.k.a. dir=uba

From: Ehsan Akhgari <ehsan@mozilla.com>
Date: Tue, 14 Sep 2010 15:29:43 -0400
Message-ID: <AANLkTi=A7RgJ6aZyMRkdBOUh3dB3FszZbrFVfUPEi9V4@mail.gmail.com>
To: fantasai <fantasai.lists@inkedblade.net>
Cc: "Aharon (Vladimir) Lanin" <aharon@google.com>, Matitiahu Allouche <matial@il.ibm.com>, "Phillips, Addison" <addison@lab126.com>, Adil Allawi <adil@diwan.com>, Behdad Esfahbod <behdad@behdad.org>, public-i18n-bidi@w3.org, public-i18n-bidi-request@w3.org, Shachar Shemesh <shachar@shemesh.biz>
On Tue, Sep 14, 2010 at 2:56 PM, fantasai <fantasai.lists@inkedblade.net> wrote:
>> # The part of the text after the first X characters (where the text in
>> nodes excluded above are not part of the count). Do we need this? If
>> so, what's a good X value? 100?
>
> And I think that for any-rtl having an X value is both better for
> performance and more likely to give good results. If the first X
> characters are LTR, where X is longer than most LTR phrases commonly
> imported into RTL text, chances are any RTL characters after that
> are not indicating the paragraph's main direction.

I agree, but it's not clear to me how we can pick the best value for
X, other than just guessing...

--
Ehsan
<http://ehsanakhgari.org/>
Received on Tuesday, 14 September 2010 19:30:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 14 September 2010 19:30:57 GMT