freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Freetype] Confusion about bidirectional line breaks...


From: Owen Taylor
Subject: Re: [Freetype] Confusion about bidirectional line breaks...
Date: Tue, 26 Oct 2004 09:14:45 -0400

On Tue, 2004-10-26 at 06:39 +0200, Werner LEMBERG wrote:
> > [ Rather off-topic for this list... ]
> 
> Interesting anyway :-)
> 
> > Line breaks are chosen based on the logical order of characters, not
> > their visual order on the line.  So, yes, if you break before
> > reordering you get a different result from breaking after
> > reordering, but the break-before-reordering result is the correct
> > one.
> 
> Please give an example.

Using the normal convention of upper case being  right-to-left:

Logical: "He said: I SAW THE CAT"
Visual:  "He said: TAC EHT WAS I"

Broken in logical order:

 He said: WAS I
 TAC EHT

Broken in visual order (incorrect):

 He said: TAC EHT
 WAS I

When reading a bidirectional text in Arabic or Hebrew, you never 
go up to a previous line ... lines are always in logical order.

Regards,
                                                Owen


Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]