http://bugs.winehq.org/show_bug.cgi?id=26772
Summary: Bad charset setting in CreateFont makes characters as block. Product: Wine Version: 1.3.17 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdi32 AssignedTo: wine-bugs@winehq.org ReportedBy: chihchun@kalug.linux.org.tw
Many windows programs using wrong charset in CreateFont[1] function, like ANSI_CHARSET. Wine accept the wrong charset, and draw the string as the programmer requested. It makes the characters look like `block'.
It seems Windows chose differnt encoding for strings, it basically ignore the charset settings in CreateFont. Every strings painted correctly on Windows.
You can download a test program from github[4], and binary[5] for test.
Effected hifree[2], PPStream[3] and other Chinese (or CJK) softwares.
Credit: ptpt52, http://forum.ubuntu.org.cn/viewtopic.php?f=121&t=291611 [1] http://msdn.microsoft.com/en-us/library/dd183499%28v=vs.85%29.aspx [2] http://appdb.winehq.org/objectManager.php?sClass=version&iId=23197 [3] http://appdb.winehq.org/objectManager.php?sClass=version&iId=19269 [4] https://github.com/chihchun/winfont [5] http://www.mediafire.com/?zmv694e6410grzk