Issue 39482 - Ligatures mangled with Windows OpenType renderer
Summary: Ligatures mangled with Windows OpenType renderer
Status: CLOSED DUPLICATE of issue 40755
Alias: None
Product: General
Classification: Code
Component: ui (show other issues)
Version: 680m65
Hardware: PC Windows XP
: P3 Trivial with 1 vote (vote)
Target Milestone: OOo 2.0
Assignee: hdu@apache.org
QA Contact: issues@framework
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-22 21:53 UTC by codeman38
Modified: 2005-03-07 17:15 UTC (History)
2 users (show)

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


Attachments
A screenshot of "OpenOffice.org" typed in CMU Sans Serif (31.86 KB, image/png)
2004-12-22 22:00 UTC, codeman38
no flags Details
document used to illustrate the problem and take the screenshot (6.53 KB, application/vnd.sun.xml.writer)
2005-02-19 04:17 UTC, gaumann
no flags Details
screenshot of ligature_test data illustrating the problem (17.05 KB, image/png)
2005-02-19 04:19 UTC, gaumann
no flags Details
screenshot of ligature_test data showing the expected display (4.01 KB, image/png)
2005-02-19 04:20 UTC, gaumann
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description codeman38 2004-12-22 21:53:11 UTC
On the Windows platform, OpenOffice.org (obviously) uses Windows' font rendering
system to display text. However, there seems to be a bit of a problem in how
OpenType fonts containing ligatures are handled.

As a demonstration, download and install the Computer Modern Unicode fonts from
http://canopus.iacp.dvo.ru/~panov/cm-unicode/. Then open up OpenOffice.org
Writer, select CMU Serif or CMU Sans Serif from the font menu, and enter any
text containing the character pairs "fl" and "fi", which are mapped to ligatures
in those particular fonts.  Watch as the formatting gets totally thrown off.
Comment 1 codeman38 2004-12-22 22:00:34 UTC
Created attachment 20778 [details]
A screenshot of "OpenOffice.org" typed in CMU Sans Serif
Comment 2 Olaf Felka 2004-12-23 08:54:43 UTC
of @ us: Please have a look.
Comment 3 codeman38 2004-12-23 17:44:37 UTC
Incidentally, this behavior can also be seen in the 1.1 branch; however, I
targeted it to the 2.0 branch because that's probably more important at the moment.
Comment 4 codeman38 2005-01-22 22:59:00 UTC
Interestingly, I discovered a fix... well, sort of.

Apparently this problem only affects Windows XP, from what I've been told.  So,
on a hunch, I went into the properties for soffice.exe and selected Windows
98/ME compatibility mode in the Compatibility tab.  And guess what?  It fixed
the glitch.  Go figure.
Comment 5 codeman38 2005-01-31 19:57:04 UTC
Bug 40755 is another case of this same issue, with additional screenshots
illustrating the problem with a commercial font.
Comment 6 ulf.stroehler 2005-02-01 13:20:31 UTC
reassigning to hdu.
Comment 7 stefan.baltzer 2005-02-16 16:27:32 UTC
SBA: Just for the record, in (closed) issue 27336, the submitter told about
further fonts having problems. 
<QUOTE>
[...] ligatures still cause problems in OpenType fonts with PostScript outlines,
such as the versions of Myriad and Minion included with Acrobat Reader 7 [...] 
<UNQUOTE>
Comment 8 gaumann 2005-02-19 04:14:47 UTC
I am also having problems with the rendering of ligatures. They are displaying
as seperate characters on the screen but printing correctly. Page preview also
has the same problem. I will attach a sample document and screenshots of the
problem and what it should look like

Openoffice 1.9.79
Windows 2000
Font: Doulos SIL version 4.0.10
      freeware available from
http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&item_id=DoulosSIL_download#29c97363

uniscribe 1.471.4030.0
This is the version that comes with Office 2003. To get openoffice to use it you
need to copy from C:\Program Files\Common Files\Microsoft
Shared\OFFICE11\USP10.DLL into
C:\Program Files\OpenOffice.org 1.9.79\program

I have also tried the CMU Serif font. This displays quite a bit worse than
Doulos SIL on my system and the cursor movement jumps all over the place as I
try to move through the line. Cursor movement with Doulos SIL is correct.

Example output is a screenshot of Notepad (with the same version of uniscribe in
the same directory as notepad.exe) rendering this font correctly. Word 2003 also
renders the ligatures correctly.

Comment 9 gaumann 2005-02-19 04:17:04 UTC
Created attachment 22809 [details]
document used to illustrate the problem and take the screenshot
Comment 10 gaumann 2005-02-19 04:19:36 UTC
Created attachment 22810 [details]
screenshot of ligature_test data illustrating the problem
Comment 11 gaumann 2005-02-19 04:20:40 UTC
Created attachment 22811 [details]
screenshot of ligature_test data showing the expected display
Comment 12 gaumann 2005-02-19 04:27:39 UTC
cc'ed myself
Comment 13 stefan.baltzer 2005-03-07 17:11:10 UTC
SBA: Duplicate. Issue 40755 is younger, but already underway.

*** This issue has been marked as a duplicate of 40755 ***
Comment 14 stefan.baltzer 2005-03-07 17:15:13 UTC
SBA: Closed.