[PATCH] [Bug 91955] Bidi algorithm: incorrect implementation of rule N2

Allan Sandfeld Jensen kde at carewolf.com
Thu Nov 4 15:51:10 GMT 2004


On Thursday 04 November 2004 11:15, Stephan Kulow wrote:
> Am Wednesday 03 November 2004 17:21 schrieb Mitz Pettel:
> > I see. I think changing line 859 from
> >                       if( bidi.status.eor != QChar::DirL ) {
> > to
> >                       if( bidi.status.eor != QChar::DirL &&
> > bidi.status.eor!=QChar::DirEN ) {
> > should take care of most of these.
>
> That patch surely reduced the number of false hits.
>
> Your patch also changes the rendering of the test case
> to bug 64506, which now renders exactly as in firefox.
>
I am pretty sure it was correct before, but since all characters were LTR, it 
is hard to say. I've updated the test to use UTF8 and thereby Hebrew letters.

`Allan




More information about the kfm-devel mailing list