Hugh McMaster : conhost: Reimplement font dialog handling.

Alexandre Julliard julliard at winehq.org
Fri Mar 11 14:49:11 CST 2022


Module: wine
Branch: master
Commit: da854c537d887fd275b71153a67cf5c43a27cd58
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=da854c537d887fd275b71153a67cf5c43a27cd58

Author: Hugh McMaster <hugh.mcmaster at outlook.com>
Date:   Thu Mar  3 22:37:05 2022 +1100

conhost: Reimplement font dialog handling.

Much of the existing font dialog code is overly complicated and difficult
to follow. There are also bugs in the code, which cannot be fixed with
minimal changes due to the complexity of the existing source. For example,
changing the font face via the listbox unexpectedly changes the font size.
It is also unnecessary to recreate the list of available font sizes
each font face selection if the font type remains unchanged.

Signed-off-by: Hugh McMaster <hugh.mcmaster at outlook.com>
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 programs/conhost/window.c | 227 +++++++++++-----------------------------------
 1 file changed, 55 insertions(+), 172 deletions(-)

Diff:   https://source.winehq.org/git/wine.git/?a=commitdiff;h=da854c537d887fd275b71153a67cf5c43a27cd58



More information about the wine-cvs mailing list