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: Werner LEMBERG
Subject: Re: [Freetype] Confusion about bidirectional line breaks...
Date: Mon, 25 Oct 2004 07:31:07 +0200 (CEST)

>    1 The levels of the text are determined according 
>      to the bidirectional algorithm.
>    2 The characters are shaped into glyphs according 
>      to their context (taking embedding levels into
>      account for mirroring!).
>    3 The accumulated widths of those glyphs (in 
>      logical order) are used to determine line breaks.
>    4 For each line, rules L1-L4 are used to reorder 
>      the characters on that line.
>    5 The glyphs corresponding to the characters on 
>      the line are displayed in that order.
> 
> So as I'm reading this, glyphs are shaped (#2) before
> line breaks happen (#3) which is before reordering
> occurs (#4). I must be missing something, because I
> don't see how you can do line breaks properly before
> you have done reordering. Won't the order of the words
> on the line possibly be very different, thus changing
> how the line is properly broken?

It looks wrong to me.  Please ask at address@hidden to get a
definite answer -- maybe the wording is amiguous, or maybe the
suggested recipe is flawed.


    Werner



reply via email to

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