Apache OpenOffice (AOO) Bugzilla – Issue 80548
Bad word wrap between dash and word
Last modified: 2013-08-07 14:42:39 UTC
Automatic line break can occur after a hyphen even when there is space on the left side of the hyphen. For example: Having "foooo -bar" at end of line breaks as follows: "foooo - bar" instead of: "foo -bar" as it should. The problem occurs with the normal hyphen character, and not with the non-breaking hyphen. Such use of hyphen might not be very common in English. At least in Finnish it is very common. For example, in cases such as "Kirjoitin tämän OpenOffice Writer -ohjelmalla" ("I wrote this with the OpenOffice Writer -program" in English, though English does not use the hyphen there). The problem is so common in Finnish that we possibly can not recommend upgrading to OOo 2.3 if the problem remains. I just had about 20 such errors in a 70-page report. Language setting has no effect on the problem. The problem occurred in Writer, but might be a more general framework problem. It occurs at least in the development versions of 2.3 (at least 680m220-225). I've had a confirmation from at least one other user.
*** Issue 80548 has been confirmed by votes. ***
MRU->KHONG: a dash preceeding a word will be able to be "alone" at the end of a line, as described. This worked correctly in OO 2.2.1 and older versions. Please fix this together with issue 80436. Thanks a lot.
Adding FME to cc.
Assigned to cws i18n34 for better overview.
It is caused by surrogate characters enhancement. I mis-unstanded new func iterateCodePoint().
fixed in cws i18n34.
Sorry I put wrong description about surrogate fix, which is for i80346. This one is caused by new icu 3.6 breakiterator enhancement, it follows Unicode line break algorithm, we have to tailor the rule to meet OOo requirement.
.
Verified fix in CWS i18n34.
Checked in OOG680m2.