Huw Davies : user32: EC_USEFONTINFO behaviour depends on whether the font' s charset is CJK or not.
Module: wine Branch: master Commit: c247a36eedb5a046921bec1a0440a1ac144642d3 URL: http://source.winehq.org/git/wine.git/?a=commit;h=c247a36eedb5a046921bec1a04... Author: Huw Davies <huw(a)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(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)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=c247a36eedb5a046921bec...
participants (1)
-
Alexandre Julliard