[PATCH v3 2/8] user32/tests: Use EM_SETMARGINS to test EC_USEFONTINFO margins.

Akihiro Sagawa sagawa.aki at gmail.com
Thu Mar 14 09:55:21 CDT 2019


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 at gmail.com>
---
 dlls/user32/tests/edit.c | 47 ++++++++++++++++++++++++++++++++++++-----------
 1 file changed, 36 insertions(+), 11 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: v3-0002-user32-tests-Use-EM_SETMARGINS-to-test-EC_USEFONT.patch
Type: text/x-patch
Size: 5300 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20190314/874d8172/attachment-0001.bin>


More information about the wine-devel mailing list