Issue 61495 - Word wrap problems near some special ligatures
Summary: Word wrap problems near some special ligatures
Status: CLOSED FIXED
Alias: None
Product: lingucomponent
Classification: Code
Component: other (show other issues)
Version: OOo 2.0.1
Hardware: All All
: P3 Trivial with 4 votes (vote)
Target Milestone: OOo 2.x
Assignee: karl.hong
QA Contact: issues@lingucomponent
URL:
Keywords: oooqa
: 75283 (view as issue list)
Depends on:
Blocks:
 
Reported: 2006-02-01 22:39 UTC by thatchermo
Modified: 2017-05-20 09:01 UTC (History)
3 users (show)

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


Attachments
Screen shot of 2.0.1 for windows, with 1.3 from Debian underneath. (79.32 KB, image/png)
2006-02-01 22:40 UTC, thatchermo
no flags Details
Test case in OpenOffice 2.0.1 (6.58 KB, application/vnd.oasis.opendocument.text)
2006-02-01 22:41 UTC, thatchermo
no flags Details
Test case in OpenOffice 1.3. (5.14 KB, application/vnd.sun.xml.writer)
2006-02-01 22:41 UTC, thatchermo
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description thatchermo 2006-02-01 22:39:01 UTC
OpenOffice 2 (fresh install of 2.0.1 on Windows and also the slightly older
snapshots in Ubuntu) wraps text incorrectly near ligatures. Ligatures seem to no
longer be considered part of a word, and OpenOffice seems to think that it's OK
to break a word on either side of a ligature. This problem does not exist in
older versions of OpenOffice. I've attached some test files along with a screen
shot demonstrating the problem.  Thanks for your work on a good product!

Scott Thatcher
Comment 1 thatchermo 2006-02-01 22:40:15 UTC
Created attachment 33771 [details]
Screen shot of 2.0.1 for windows, with 1.3 from Debian underneath.
Comment 2 thatchermo 2006-02-01 22:41:13 UTC
Created attachment 33772 [details]
Test case in OpenOffice 2.0.1
Comment 3 thatchermo 2006-02-01 22:41:55 UTC
Created attachment 33773 [details]
Test case in OpenOffice 1.3.
Comment 4 michael.ruess 2006-02-02 07:24:28 UTC
Reassigned to SBA.
Comment 5 seahen 2006-02-27 13:05:45 UTC
They also break the word for purposes of spell-checking.
Comment 6 Rainer Bielefeld 2006-11-11 09:06:46 UTC
I checked with "2.0.2  German version WIN XP: [680m5(Build9011)]" and can
confirm the problem for the attached sample document 'ligtest.odt'

This is not a special WRITER problem, with the text line in 'ligtest.odt' I can
also reproduce the problem in CALC (insert the test inro a cell and activate
"Alignment - Wrap text automatically") and in DRAW text fields. So
"lingucomponent" might be a more suitable component?

@thatchermo:
Of course I see the break in the word "afire", but currently I am not able to 
reproduce the problem with an own text. How can I insert such ligature into my
own texts?
Comment 7 Rainer Bielefeld 2006-11-11 09:07:58 UTC
May be this issue is related to Issue 4638?
Comment 8 thatchermo 2006-11-11 20:09:43 UTC
rainerbielefeld: You can insert ligatures using the Insert->Special Character...
dialog. Make sure you're set to the same font as the text font, and select the
ligatures you want.

The problem described in this bug seems to be somewhat separate from the problem
described in Issue 4638.  OpenOffice spell-checking has never worked with
ligatures, but this word-breaking problem seems to have only been introduced in
more recent versions of OpenOffice.

On the other hand, 4638 describes other ways that "special characters" inserted
with Insert->Special Character... don't behave like regular text---they don't
change style with the rest of the text.  Maybe this is another example of a
situation where a "special character" is treated as being a little too special.

Scott Thatcher
Comment 9 Rainer Bielefeld 2006-11-12 09:51:43 UTC
@thatchermo 
I already heard about special characters dialogue ;-)
Ligatures I tried did not show the reported effect.

Now I found that "Times New Roman / Private Use Area 'fi = U+F001'" is suitable
to reproduce the problem.

It seems that "Times New Roman / Alphabetic Presentation Forms 'fi = U+FB01'"
does not effect the reported problem.

Steps to reproduce with "2.0.2  German version WIN XP: [680m5(Build9011)]": 
0. Open new CALC document
1. Copy / paste following  Text 
   "Aaaaaaaaaaa bbbbbbbbbbbbbb cccccccccccccccc dddddddddd eeeeexxeeeeee
fffffffffffffff gggggggg" to Cell A1
3. Check Menu 'format - Cells - Alignment - Wrap text automatically'
4. Change character attributes to "Times New Roman / 10px"
5. Change column width to 40mm
6. Insert a ligature "Times New Roman / Private Use Area 'fi = U+F001'" into the
  word "eeeeexxeeeeee" between the 2 "x"
  expected: complete word will be wrapped to the next line
  actual: ligature will be handled like a <Space>, only "xeeeeee" will be 
          wrapped to the next line
  (eventually you will have to insert some characters to "dddddddddd" to 
  effect the wrap)

'U+FB01' will not show that effect.

Comment 10 stefan.baltzer 2007-01-24 14:51:38 UTC
SBA->FME: Please proceed.
Comment 11 stefan.baltzer 2007-03-13 14:53:28 UTC
*** Issue 75283 has been marked as a duplicate of this issue. ***
Comment 12 frank.meies 2007-05-15 09:32:39 UTC
fme->khong: Something for you?
Comment 13 karl.hong 2007-12-07 18:19:27 UTC
I can reproduce the problem of ligtest.odt and ligtest.sxw, but the problem is
no longer reproducable on 2.3.0. It is fixed.

Comment 14 Rainer Bielefeld 2007-12-07 19:01:33 UTC
Yes, also OK in CALC with "2.3.1  Multilingual German version WIN XP:
[680m9(Build9238)]"