Huw Davies : user32: EC_USEFONTINFO behaviour depends on whether the font' s charset is CJK or not.
Alexandre Julliard
julliard at winehq.org
Thu Sep 1 09:55:30 CDT 2016
Module: wine
Branch: master
Commit: c247a36eedb5a046921bec1a0440a1ac144642d3
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c247a36eedb5a046921bec1a0440a1ac144642d3
Author: Huw Davies <huw at codeweavers.com>
Date: Thu Sep 1 11:35:10 2016 +0100
user32: EC_USEFONTINFO behaviour depends on whether the font's charset is CJK or not.
In the non-CJK case, the margins are half of the width returned by
GdiGetCharDimensions() but only if the client rect's width is above a
certain size. There is an exception if the client rect is empty if
the font is sufficiently small.
In the CJK case, the margins are independent of the client rect size.
Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/user32/edit.c | 60 ++++++++++---------
dlls/user32/tests/edit.c | 153 +++++++++++++++++++++++++++++++++++------------
2 files changed, 147 insertions(+), 66 deletions(-)
Diff: http://source.winehq.org/git/wine.git/?a=commitdiff;h=c247a36eedb5a046921bec1a0440a1ac144642d3
More information about the wine-cvs
mailing list