Tests assume that WM_SETFONT margins are equal to EM_SETMARGINS with EC_USEFONTINFO ones. This isn't true in the CJK charset font.
This patch also contains a patch which uses GdiGetCodePage instead of GetTextCharset because GetTextCharset can't handle associated charset correctly seen in Chinese locale.
Signed-off-by: Akihiro Sagawa sagawa.aki@gmail.com --- dlls/user32/tests/edit.c | 54 ++++++++++++++++++++++++++++++------------------ 1 file changed, 34 insertions(+), 20 deletions(-)