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

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 UTC