Apache OpenOffice (AOO) Bugzilla – Issue 24119
Wrong line breaks in Hebrew
Last modified: 2013-08-07 14:43:45 UTC
When typing Hebrew text, series of single words seprated by a comma and a space (i.e. one, two, three, four) are treated like a single word, so that the whole series is moved to the next line instead of breaking the line at the space nearest to the maximum length of the line.
Created attachment 12281 [details] a hebrew text deminstrating the wrong line breaks bug
not reproducible on linux. When entering spaces or tabs between the words, only one word at a time wraps to the next line. Lowering Priority & adding sforbes to cc...
What version of OpenOffice are you using? From your description, this sounds like a dup of issue #16372 At any rate, I am unable to reproduce it on my Mac. so this is either a dup or a windows only issue.
prog: as I won't be near a windows box soon, can you please test this so we can see if this indeed is a windows only issue? Thanks!
I don't think this is a dup of issue #16372. As far as I can see, it happens only in right-to-left and only with words separated by a comma or some other sign, which are treated as a single unbreakable unit for line breaking purposes. Unfortunately I don't have access to other OSs at the moment. My OS is a Hebrew-enabled windows 98.
Created attachment 12430 [details] new bugdoc
FME->HDU: Reproduced with SRC680m16. Please see my new bugdoc. First, the text formatting askes for the width of the text [74,76[ (", "). The result is 139. Calling GetTxtBreak for this text with remaining space = 138, the result is 74. Could you please have a look?
.
HDU->HDU reminder: SimpleWinLayout::GetTextBreak in non-linear Glyph<->Char mapping (strong RTL flag for ", ").
On a second thought the root cause was fixed in the CWS vcl7pp1r2 by the patch for issue 16372. CWS vcl7pp1r2 got into 680m17... *** This issue has been marked as a duplicate of 16372 ***
Verified duplicate myself with both SRC680>=m17 and FIX645==m3. Under certain circumstances that I won't get into the problem could have triggered a crash for some specially designed documents. The fix will get into OOo 1.1.1, so I readjust the target and close the issue. HDU->Soshana: Great guess! Thank you.