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(-)
Hi,
While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check?
Full results can be found at: https://testbot.winehq.org/JobDetails.pl?Key=49112
Your paranoid android.
=== debian9 (32 bit Chinese:China report) ===
user32: edit.c:1520: Test succeeded inside todo block: 0: got 5, 1 edit.c:1520: Test succeeded inside todo block: 128: got 5, 1 edit.c:1520: Test succeeded inside todo block: 129: got 5, 1 edit.c:1520: Test succeeded inside todo block: 136: got 5, 1 edit.c:1520: Test succeeded inside todo block: 1: got 5, 1