[Fribidi-discuss] Bug in wrapping in command-line fribidi?
Behdad Esfahbod
behdad at bamdad.org
Sun Mar 23 14:40:20 EST 2003
Hi Beni,
Fribidi's command line tool is just a simple test tool. I must
confess that I never expected anyone discover my laziness in
breaking lines before reordering! The fact is that the fribidi
api currently does not support line breaking in the right place,
so I break lines after reordering, while Nadav breaks lines
before the whole bidi algorithm, which means override marks (LRO,
RLO, ...) will work on lines, not paragraphs. The whole thing
will be fixed in the upcoming fribidi release.
Yours,
behdad
On Sun, 23 Mar 2003, Nadav Har'El wrote:
> On Sun, Mar 23, 2003, Beni Cherniavsky wrote about "[Fribidi-discuss] Bug in wrapping in command-line fribidi?":
> > The --ltr / --rtl are needed to force the base direction of the whole
> > paragraph to be the same, otherwise different parts of the same line
> > would be auto-detected with different directions.
> >
> > A quick look at the source seems to confirm that wrapping is done on
> > the visual result. The fix would be a bit involved. In particular,
>
> The "bidiv" utility I wrote (which is basically a small C utility using
> the fribidi library) does both of the things you wanted: it correctly
> folds lines, and it determines the main direction by paragraph (but you
> also have an option to do it by logical line). It also has a few other
> features that you might like when viewing Hebrew (or Hebrew/English)
> text, like right justification and automatic ISO-8859-8 / UTF-8 recognition.
>
> You can find bidiv in:
> http://ftp.ivrix.org.il/pub/ivrix/src/cmdline/
>
>
--
Behdad Esfahbod 4 Farvardin 1382, 2003 Mar 24
http://behdad.org/ [Finger for Geek Code]
In the corner of the dream was the man with the blue guitar
It had no strings but the music touched the stars
More information about the FriBidi
mailing list