Apache OpenOffice (AOO) Bugzilla – Issue 16244
incorrect line brake where an english word is followed by a neutral character in a rtl document
Last modified: 2017-05-20 09:45:03 UTC
the attached Hebrew file was created in word 2000. It is a rtl document, mixed with LTR text. Notice that there is an incorrect line brake where a rtl word is followed directly by neutral characters. OO treats it incrrectly as two diffrent elements which can have a line brake.
Created attachment 7255 [details] the word 2000 document
Created attachment 7256 [details] currect- no line brake (word 2000 on windows 98 Hebrew enabled)
Created attachment 7257 [details] incorrect- there is a line brake (oo write 1.1 beta 2, gnome 2.2, redhat 9)
DL->FME: Could you please takeover?
FME: We have this situation: 'Hello(World)'. It seems like the breakiterator returns '(' as a line break possibility. Word treats 'Hello(World)' as one piece of text without breaking possibility. So if we change this, we would change the text formatting for lots of old documents out there. From this point of view I would say, we should not change our current behaviour. FME->FT: As discussed.
added mehlng to the cc list
FME: This behavior is not depending on RTL or LTR directionality. It is a general line breaking issue with the '('. In order to change the current behavior, we need to add a compatibility flag.
I'm not sure it's a linebreaking issue. I think that any parenthesis will look like (SOME_ENGLISH (ENGLISH if Hebrew word is written afterwards. The linebreaking issue seems minor to me.
After discussing this issue FME and I agreed that fixing this issue stands in no comparison with its benefit. Therefore this issue is targeted to later and put to P4. Since it does not need speciifcation back to developer.
FME: The paranthesis issue is addressed in #i18024#.
.