Issue 78815 - EditEngine on Aqua-OOo has problems with ligatures
Summary: EditEngine on Aqua-OOo has problems with ligatures
Status: CLOSED FIXED
Alias: None
Product: porting
Classification: Code
Component: MacOSX (show other issues)
Version: 680m214
Hardware: All Mac OS X, all
: P3 Trivial (vote)
Target Milestone: OOo 2.3
Assignee: hdu@apache.org
QA Contact: issues@porting
URL:
Keywords: aqua
Depends on:
Blocks:
 
Reported: 2007-06-22 20:24 UTC by pavel
Modified: 2007-07-10 17:23 UTC (History)
5 users (show)

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


Attachments
Cut&paste and ligatures special? (64.29 KB, image/png)
2007-06-22 20:25 UTC, pavel
no flags Details
Tino's screenshot (46.27 KB, image/png)
2007-06-24 20:06 UTC, tino.rachui
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description pavel 2007-06-22 20:24:49 UTC
Hi,

(yes, I'm now trying to use native office for a real-world writing ;-)

are ligatures somewhat special during cut&paste? Why?

1. paste this URL to en empty Writer document:

http://qca.postsignum.cz/www/offices-km.php?lng=cs

2. Ctrl+A to select it all

3. Insert -> Hyperlink

4. the dialog Hyperlink shows

5. double click on the URL shown in the dialog. The ffi is shown with white rectangle instead of blue 
selected text. ffi is probably ligature.

The attached screenshot shows it - I added ff and fi ligatures to the URL to test it, so there are three 
white parts in the should-be-completely-selected text.
Comment 1 pavel 2007-06-22 20:25:45 UTC
Created attachment 46195 [details]
Cut&paste and ligatures special?
Comment 2 pavel 2007-06-23 11:15:57 UTC
Maybe it is not connected with cut&paste... Even when simply typing into the dialog e.g. the word office, 
after the seconf f, the cursor jumps back before the first f. After letter i, it again jumps back before first f.

ekato,pl: any idea?
Comment 3 tino.rachui 2007-06-24 20:05:54 UTC
This isn't a clipboard issue. It probably has more to do with fonts and the edit engine. When  I select the 
whole URL in the "Insert URL" dialog it looks not so weird as in your case (see my attached screenshot).
Comment 4 tino.rachui 2007-06-24 20:06:57 UTC
Created attachment 46217 [details]
Tino's screenshot
Comment 5 pavel 2007-06-24 20:53:52 UTC
Tino: several interesting pieces on your screenshot (different widget with "Text", cropped radios and 
buttons), but it is interesting that you do not see it on your machine.

Do you see the "ligature effect" when typing in the dialog?

Anyone else?
Comment 6 ekato 2007-06-25 03:10:51 UTC
I get similar result of Pavel's as 'ffi' is not displayed when reversed.  I
guess ATSLayout::InitGIA() may have some problems for getting glyph width.
Comment 7 hdu@apache.org 2007-06-25 07:52:24 UTC
@pjanik/ekato: are you working with the latest aquavcl01-VCL from CVS?
Comment 8 ekato 2007-06-25 08:54:53 UTC
I think I use latest version as salgdi.cxx 1.59.112.66 and salatslayout.cxx
1.1.2.39.

Ligature like 'ff', 'fl' doesn't show correct caret position and reversed text
with my en-US build.
Comment 9 tino.rachui 2007-06-25 12:16:38 UTC
pjanik: Yes, I see the ligature issue. When moving the cursor it jumps over the
whole 'ffi' block. 
I think last time I cvs update'd vcl was Saturday (June 23th 2007).
Comment 10 hdu@apache.org 2007-06-25 12:46:58 UTC
Fixed in the latest vcl/aqua/source/gdi/salatslayout.cxx (1.1.2.41)
Comment 11 pavel 2007-06-25 21:00:57 UTC
verified in aquavcl01.

Thanks for the fix!
Comment 12 hdu@apache.org 2007-06-26 08:42:06 UTC
Closing.
Comment 13 pavel 2007-06-26 08:46:36 UTC
not on master ;-)
Comment 14 pavel 2007-06-26 08:46:58 UTC
fixed.
Comment 15 pavel 2007-06-26 08:47:15 UTC
verified.
Comment 16 pavel 2007-06-28 07:42:06 UTC
add keyword, add to aquavcl01
Comment 17 pavel 2007-07-10 17:23:46 UTC
OK in SRC680_m220.

Closing.