Issue 80548 - Bad word wrap between dash and word
Summary: Bad word wrap between dash and word
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: formatting (show other issues)
Version: 680m225
Hardware: All All
: P3 Trivial with 1 vote (vote)
Target Milestone: ---
Assignee: michael.ruess
QA Contact: issues@sw
URL:
Keywords: regression
Depends on:
Blocks: 80294
  Show dependency tree
 
Reported: 2007-08-09 22:16 UTC by magi
Modified: 2013-08-07 14:42 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description magi 2007-08-09 22:16:11 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.
Comment 1 Teemu Likonen 2007-08-10 09:35:46 UTC
*** Issue 80548 has been confirmed by votes. ***
Comment 2 michael.ruess 2007-08-10 09:47:41 UTC
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.
Comment 3 michael.ruess 2007-08-10 10:24:51 UTC
Adding FME to cc.
Comment 4 ooo 2007-08-13 10:53:31 UTC
Assigned to cws i18n34 for better overview.
Comment 5 karl.hong 2007-08-14 00:01:20 UTC
It is caused by surrogate characters enhancement. I mis-unstanded new func
iterateCodePoint().
Comment 6 karl.hong 2007-08-14 00:02:20 UTC
fixed in cws i18n34.
Comment 7 karl.hong 2007-08-14 00:10:08 UTC
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.
Comment 8 karl.hong 2007-08-14 00:16:59 UTC
.
Comment 9 michael.ruess 2007-08-15 17:49:59 UTC
Verified fix in CWS i18n34.
Comment 10 michael.ruess 2007-08-30 14:51:49 UTC
Checked in OOG680m2.