[Bug 7861] New: DrawTextExA doesn't use charset of currently
selected font for Unicode translation
wine-bugs at winehq.org
Sun Mar 25 16:03:56 CDT 2007
Summary: DrawTextExA doesn't use charset of currently selected
font for Unicode translation
AssignedTo: wine-bugs at winehq.org
ReportedBy: mgrzeskowiak at tlen.pl
I got this problem with commercial application (no download) but I was able
to create simple application (I will attach it) that behaves in the same way.
It displays russian text in a window. In Windows XP I got the same results
when using TextOutA and DrawTextA (to get 'A' variants I compile with
UNICODE undefined under Dev-C++). In Wine TextOutA displays the text
but with DrawTextA I get glyphs from wrong code page.
I tried to locate the source of the problem and I found that
DrawTextExA function in dlls/user32/text.c always uses CP_ACP for
multibyte to unicode conversion while TextOutA gets the codepage
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the wine-bugs