Re: about P1 part of BIDI alogrithm

From: Eli Zaretskii <eliz_at_gnu.org>
Date: Tue, 11 Oct 2011 02:54:15 -0400

> Date: Tue, 11 Oct 2011 13:39:36 +0900
> From: "Martin J. Dürst" <duerst_at_it.aoyama.ac.jp>
> CC: libo.imc_at_gmail.com, unicode_at_unicode.org
>
> > Sorry, I don't follow you. There's no such "line-folding" in the
> > Emacs implementation of the UBA. A line that doesn't fit the window
> > width is reordered as a whole. Conceptually, reordering is done
> > before breaking a long line into continuation lines.
>
> This is exactly what I meant. In Emacs, reordering is done before
> breaking a long line into smaller segments to fit into the width of the
> display window.

Okay, then what we have is a simple misunderstanding. Thanks for
clearing it up.

> I called this "line-folding", you call it continuation lines.

Well, "continuation lines" _is_ the Emacs terminology ;-)

> But in the bidi algorithm itself, line breaking (be it automatic due to
> a layout algorithm or explicit due to LS or something similar) is
> applied *before* reordering. This is very important, because otherwise,
> content that is logically earlier may appear on later lines, which would
> be very confusing for readers.

I know, but implementing this in the Emacs display engine means
terrible complications, so I opted not to do that, at least for the
first version of it.
Received on Tue Oct 11 2011 - 01:58:23 CDT

This archive was generated by hypermail 2.2.0 : Tue Oct 11 2011 - 01:58:24 CDT