[Bug 26772] New: Bad charset setting in CreateFont makes characters as block.
wine-bugs at winehq.org
wine-bugs at winehq.org
Thu Apr 14 05:10:12 CDT 2011
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 at winehq.org
ReportedBy: chihchun at 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
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list