Apache OpenOffice (AOO) Bugzilla – Issue 39482
Ligatures mangled with Windows OpenType renderer
Last modified: 2005-03-07 17:15:13 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.
Created attachment 20778 [details] A screenshot of "OpenOffice.org" typed in CMU Sans Serif
of @ us: Please have a look.
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.
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.
Bug 40755 is another case of this same issue, with additional screenshots illustrating the problem with a commercial font.
reassigning to hdu.
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>
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.
Created attachment 22809 [details] document used to illustrate the problem and take the screenshot
Created attachment 22810 [details] screenshot of ligature_test data illustrating the problem
Created attachment 22811 [details] screenshot of ligature_test data showing the expected display
cc'ed myself
SBA: Duplicate. Issue 40755 is younger, but already underway. *** This issue has been marked as a duplicate of 40755 ***
SBA: Closed.