http://bugs.winehq.org/show_bug.cgi?id=7571
Summary: Accented character glyphs are mixed up with TrueType fonts (affects e.g. Lotus Notes R5) Product: Wine Version: 0.9.31. Platform: All OS/Version: All Status: UNCONFIRMED Severity: trivial Priority: P1 Component: wine-gdi-(printing) AssignedTo: wine-bugs@winehq.org ReportedBy: inckie@gmail.com
When using TrueType fonts in Lotus Notes R5 under Wine, I found out that some accented characters have their glyphs randomly swapped with some other special characters. For instance, with some TrueType fonts the string
áéíóú ÁÉÍÓÚ àèìòù ÀÈÌÒÙ ãõ ÃÕ âêîôû ÂÊÎÔÛ äëïöü ÄËÏÖÜ
renders as
įéķóś ĮÉĶÓŚ ąčģņł ĄČĢŅŁ ćõ ĆÕ āźīōū ĀŹĪŌŪ äėļöü ÄĖĻÖÜ
with Trebuchet MS and a number of other fonts I'll mention below.
To reproduce the bug, open Lotus Notes R5 and either open a message with a TrueType font or create a draft and apply such a font to some text.
The fonts I tested are:
From Windows (if, like me, you have Windows Vista, chances are that you have all
of them): Arial**, Arial Black*, Book Antiqua*, Calibri*, Candara*, Comic Sans MS*, Consolas*, Constantia*, Corbel*, Courier New**, Georgia*, Haettenschweiler*, Impact*, Lucida Sans, Microsoft Sans Serif***, Mistral*, Palatino Linotype**, Pristina, Segoe Print*, Segoe Script*, Segoe UI**, Sylfaen*, Tahoma***, Times New Roman**, Trebuchet MS*, Verdana**
Other Fonts: Apple Garamond (http://img.dafont.com/download/?os=win&file=apple_garamond) Bitstream Vera family (http://ftp.gnome.org/pub/GNOME/sources/ttf-bitstream-vera/1.10/) Caesar (http://img.dafont.com/download/?os=win&file=caesar) Chicago* (http://www.mis.rsu.ru/~ray/font/FONTS.ALL/CHICAGO.TTF) Dalek (http://img.dafont.com/download/?os=win&file=dalek) DeiGratia (http://img.dafont.com/download/?os=win&file=deigratia) DejaVu Family** (http://dejavu.sourceforge.net/) Dominican Small Caps (http://img.dafont.com/download/?os=win&file=dominican) Electroharmonix (http://img.dafont.com/download/?os=win&file=electroharmonix) FreeMono* (http://download.savannah.gnu.org/releases/freefont/) FreeSans* (http://download.savannah.gnu.org/releases/freefont/) Gentium (http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&item_id=Gentium...) Isabella* (http://www.thibault.org/fonts/isabella/) Junicode* (http://junicode.sourceforge.net/) Justinian (http://img.dafont.com/download/?os=win&file=justinian) Konfuciuz Fat (http://img.dafont.com/download/?os=win&file=konfuciuz) Marathon II (http://img.dafont.com/download/?os=win&file=marathon) MgOpen Canonica (http://www.ellak.gr/fonts/mgopen/#download) Morris Roman (http://img.dafont.com/download/?os=win&file=morris_roman) Stonehenge (http://img.dafont.com/download/?os=win&file=stonehenge) Zekton** (http://img.dafont.com/download/?os=win&file=zekton)
Fonts with one asterisk behave like Trebuchet MS, as described. Those with two asterisks behave like Times New Roman, missing only graves and tildes. And those with three asterisks showed me a weird mix of Thai-like letters... The fonts with no asterisk are unaffected by the bug, AFAICT.
Notice that the bug affects both screen display and printing, but the text is be copied/pasted correctly to, say, a native linux application, with all accents and letters in their intended places.
I'll look into the code to see if I can come up with a test, unless somebody is faster than me at that.