Apache OpenOffice (AOO) Bugzilla – Issue 46054
messed-up word-break for latin text with non-breaking-space in RTL paragraphs (individual letters moved to next line)
Last modified: 2013-08-07 14:38:26 UTC
Hi, A mixed Hebrew and English document. Insert an English phrase with non breakable spaces (Ctrl Space) into a Hebrew paragraph will break across lines. Regards, Florin
Created attachment 24288 [details] the file in OO format.
Thank you for not telling us where to find the space in that document. We all love to waste time identifying the problem and train our mind-reading skills. Try again. (Tell us where in the document we will find the non-breaking space. E.g. "on page three, in the box captioned with 'DUDAIM (The)', third line")
>1. I do not know how to add comments directly to the Issue, on the web site. >This is why I write to your email. Log in, visit the url given in the notifiction mail you get (http://www.openoffice.org/issues/show_bug.cgi?id=46054) write your commen into the box labeled with "additional comments" and click the button "submit". > 3. I did not tell you abut the place in the document because there are many > of them. I did (how wrong on my part) assume that you can make a search for > the non breake place or character in the document. Any way, Look for the > word Reason and see the wrong formatting and numbering and etc. in the > paragraph. Because every time I open the document, the format changes, I > cannot give more indication than this. We can search for the character, but there needs to be the character. There are no non-breaking spaces around "Reason" Furthermoe the document seams to be broken/there are other problems with the document that hide the passages. > 4. If I were your employer I would have fired you for loving to waste time. > As to the mind reading skils, indeed you need some training. I sugest > strating with your own unpolite, to say the least, mind. OK, this shows that you don't have a sense for sarkasm. Sorry. Please provide a screenshot of what you see and please explain how this document was generated.
->florincoter: please also try to reproduce it with a simple 2-lines document, indicating step by step where to add the space.
Created attachment 24315 [details] nbrk spc test case, explanations inside the doc.
Explanation in the documentnbsp 1.odt (5lines?) one line paragraph rtl before problem two lines paragraph rtl with the problem two lines paragraph ltr where there is no problem. Regards, Florin.
With the new document this is perfectly reproducible. (linux, m88, therefore OS to ALL, Platform to ALL) But it is not the non-breaking space that behaves wrong. (if the NBSP would not be respected, the result would be "sdfgh dfdfghdfh" on one line and "dfhjdfj" on the other line (as if you would replace the non-breaking space with a regular one). The problem is that the individual latin letters "word-wrap" at the line-end when a non-breaking space is used. Therefore I reworded the summary to describe the problem more exactly - although now it is a bit long.. original summary: "breakable space breaks" I suggest raising Prio to P2 / fix at least for 2.0.1
I'd rather leave it as P3 but, yes, set the target to 2.0.1 (was already there in OOo 1.1.4)
Analysis: In general, non-breakable space works within mixed direction text. A problem occurs if there is no other break possibility before the non-breakable space *in* the bidi portion. In this case, the line break has to be at the border of the RTL and the LTR text.
Considering the effort, the priority, the risk and our resource planning I've to retarget this issue to OOo Later.