Sweden-Number/programs/winecfg
Zhiyi Zhang 5cebefc24f winecfg: Don't convert font height to points when saving system font metrics.
Fix tooltip font size becomes smaller after clicking the apply button in Desktop Integration tab.
For example, the original non-client area tooltip font lfHeight is -11. 11 pixels is 8 points in 96
DPI. Setting font size to 8 points to SPI_SETNONCLIENTMETRICS will make SPI_GETNONCLIENTMETRICS
report lfHeight as 8. With lfHeight being 8, CreateFontIndirectW() creates a smaller font. This
behavior is added by 5b8fdb9. I assume the intention was to save font size in a DPI-independent way.
However, when lfHeight is negative, lfHeight will still be scaled back to 96 DPI before saving it to
registry and scaled to system DPI when it's read from registry. So I think converting to points is
unnecessary.

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-02 12:39:12 +02:00
..
Makefile.in winecfg: Use nameless unions. 2021-03-23 09:32:45 +01:00
about.c
appdefaults.c ntdll: Bump Win 10 version to 17763. 2020-09-28 13:23:44 +02:00
audio.c winecfg: Use nameless unions. 2021-03-23 09:32:45 +01:00
drive.c libwine: Remove wine/library.h. 2020-09-08 16:26:17 +02:00
driveui.c winecfg: Get rid of drive autodetection. 2020-04-17 13:57:35 +02:00
idw_testsound.wav
libraries.c winecfg: Get the builtins list from the architecture-specific PE directory. 2021-04-26 21:34:02 +02:00
logo.ico
logo.svg
main.c winecfg: Restart 64-bit version from the system32 directory. 2021-04-16 11:15:18 +02:00
resource.h winecfg: Get rid of drive autodetection. 2020-04-17 13:57:35 +02:00
theme.c winecfg: Don't convert font height to points when saving system font metrics. 2021-07-02 12:39:12 +02:00
winecfg.c
winecfg.h winecfg: Add /v parameter to display current Windows version. 2020-09-02 21:27:50 +02:00
winecfg.ico
winecfg.man.in
winecfg.manifest
winecfg.rc winecfg: Get rid of drive autodetection. 2020-04-17 13:57:35 +02:00
winecfg.svg
x11drvdlg.c