To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=99246
------- Additional comments from yanmin...@openoffice.org Fri Feb 20 09:32:20 +0000 2009 ------- Making clear the what's cause of the defect would be very helpful to fix it. As mensioned in one my previous comment, the difference between Windows and Linux is, On windows, the bidi text is seperated into runs each of which contains only single language characters before being reordered by uniscribe bidi algorithm. That why no problem is on windows. On Linux, the whole multilingual bidi text is delivered to icu with the parameter UBIDI_DEFAULT_LTR, so the initial direction or paragraph is determined by the first character with bidi-strong character. Unfortunately, the editfield in English UI should use LTR as paragraph direction to layout text. So the paragraph direction of bidi text in editfield should depend on the attribution mnTextLayoutMode in class OutputDevice. But the LayoutMode TEXT_LAYOUT_BIDI_LTR seems be ignored or mixed with TEXT_LAYOUT_DEFAULT because they have same binary value. What's more, there is no value of mnFlags in class ImplLayoutArgs responding to LayoutMode TEXT_LAYOUT_BIDI_LTR. Solution: make difference between LayoutModes TEXT_LAYOUT_BIDI_LTR and TEXT_LAYOUT_DEFAULT defined in vcl/inc/outdev.hxx at first; and then set mnFlags according to mnTextLayoutMode; finally assign the nLevel with correct value according to mnFlags in vcl/source/gdi/sallayout.cxx::ImplLayoutArgs::ImplLayoutArgs(...). --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@gsl.openoffice.org For additional commands, e-mail: issues-h...@gsl.openoffice.org --------------------------------------------------------------------- To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org