Version: (using KDE KDE 3.3.91) Installed from: Compiled From Sources I noticed that BIDI text inside table, is sometimes overlapping, and this introduces a pretty unreadable text. A nice example, is showed @ http://www.kde.org/il, to see the effect, just resize the window, the problems will be showed in the lighter part of the table. Roumors claim that this is because of "text-align: justify;", I could not reproduce it in small scale yet, when I manage to do that, I will attach to this bug report.
Created attachment 9260 [details] a small test case for this bug.
Is it possible to replicate the problem with english text forced into RTL? The problem is that I can't easily see where it breaks, and how it is supposed to look.
CVS commit by charles: RTL text overlapping when using text-align: justify. BUG: 97806 Easy one, I'm confident enough to commit without review on bugs.k.o. M +3 -1 font.cpp 1.33 --- kdelibs/khtml/rendering/font.cpp #1.32:1.33 @@ -225,5 +225,7 @@ void Font::drawText( QPainter *p, int x, Q_ASSERT(onSegment); if (mode == WordWise) { - segmentWidth += closeWordAndGetWidth(fm, str, pos, lastWordBegin, to); + const int width = closeWordAndGetWidth(fm, str, pos, lastWordBegin, to); + segmentWidth += width; + widthList[lastWordBegin] = (short)width; }
That seems to fix many sites which were broken for over a year. Thank you! __________________________________ Do you Yahoo!? Meet the all-new My Yahoo! - Try it today! http://my.yahoo.com