Tests assume that WM_SETFONT margins are equal to EM_SETMARGINS with EC_USEFONTINFO ones. This isn't true when font's charset is CJK.
In v3, Introduce cjk_charset variable, in addition to cjk variable. cjk_charset variable represents font charset (codepage) is CJK. cjk one represents Wine's way that indicates the font is CJK. This value doesn't support charset association seen in Chinese. So, they are different.
Signed-off-by: Akihiro Sagawa sagawa.aki@gmail.com --- dlls/user32/tests/edit.c | 47 ++++++++++++++++++++++++++++++++++++----------- 1 file changed, 36 insertions(+), 11 deletions(-)