[PATCH v2 1/7] user32/tests: Use EM_SETMARGINS to test EC_USEFONTINFO margins.

Akihiro Sagawa sagawa.aki at gmail.com
Mon Mar 11 08:27:15 CDT 2019


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

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


More information about the wine-devel mailing list