Re: about P1 part of BIDI alogrithm

From: Martin J. Dürst <duerst_at_it.aoyama.ac.jp>
Date: Tue, 11 Oct 2011 10:53:39 +0900

On 2011/10/11 10:29, "Martin J. Dürst" wrote:
>
>
> On 2011/10/10 21:10, Eli Zaretskii wrote:
>>> Date: Mon, 10 Oct 2011 17:47:21 +0800

>> In addition to the Paragraph Separator, _any_ newline function (LF,
>> CR+LF, CR, or NEL) can end a paragraph. Also U+2028, the LS
>> character. See section 5.8 of the Unicode Standard cited above.
>
> No, U+2028 (LS) is explicitly *not* a Paragraph Separator. It just
> indicates where to break a line (rather than leaving that to the
> implementation), but doesn't restart the Bidi algorithm.

I might add here that 'break a line' in the Bidi algorithm is done
before actual reordering (which is done line-by-line), but after
calculating all the levels.

This is different from what you did in Emacs, which I'd call
line-folding, i.e. cut the line after a paragraph is laid out and
reordered completely as a single (potentially very long) line. This
makes some sense in Emacs, where the basic assumption is that lines
should fit into the width of the view.

Regards, Martin.
Received on Mon Oct 10 2011 - 20:56:16 CDT

This archive was generated by hypermail 2.2.0 : Mon Oct 10 2011 - 20:56:17 CDT