Sweden-Number/programs
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
..
arp programs: Make all program entrypoints cdecl. 2019-10-17 17:05:47 +02:00
aspnet_regiis programs: Make all program entrypoints cdecl. 2019-10-17 17:05:47 +02:00
attrib attrib: Use CP_ACP for non-console output encoding. 2020-11-13 13:18:07 +01:00
cabarc cabarc: Use wide-char string literals. 2020-10-06 11:55:04 +02:00
cacls programs: Make all program entrypoints cdecl. 2019-10-17 17:05:47 +02:00
chcp.com chcp: Set the global codepage when called with an argument. 2019-12-12 23:16:40 +01:00
clock clock: Enable visual styles. 2021-06-16 09:00:02 +02:00
cmd cmd: Do not change errorlevel when setting environment variables. 2021-06-18 21:08:03 +02:00
conhost conhost: Silence FIXME in console_input_ioctl. 2021-06-28 19:43:28 +02:00
control control: Enable visual styles. 2021-06-09 23:38:44 +02:00
cscript wscript: Build with msvcrt. 2019-05-02 11:08:17 +02:00
dism dism: Add version resource. 2020-10-01 11:46:15 +02:00
dplaysvr dplaysvr: Add stub program. 2020-10-23 20:25:06 +02:00
dpnsvr dpnsvr: Add version resource. 2020-11-03 22:18:47 +01:00
dpvsetup dpvsetup: Add stub program. 2020-10-23 20:25:51 +02:00
dxdiag dxdiag: Enable visual styles. 2021-06-09 23:38:44 +02:00
eject eject: Use wide-char string literals. 2020-10-09 10:45:18 +02:00
expand programs: Make all program entrypoints cdecl. 2019-10-17 17:05:47 +02:00
explorer explorer: Enable visual styles. 2021-06-09 23:38:44 +02:00
extrac32 extrac32: Enable visual styles. 2021-06-09 23:38:44 +02:00
fc programs: Make all program entrypoints cdecl. 2019-10-17 17:05:47 +02:00
find find: Use wide-char string literals. 2020-10-20 12:42:40 +02:00
findstr programs: Make all program entrypoints cdecl. 2019-10-17 17:05:47 +02:00
fsutil fsutil/tests: Add a trailing linefeed to an ok() message. 2021-03-02 20:42:38 +01:00
hh hh: Build with msvcrt. 2019-04-30 09:53:59 +02:00
hostname hostname: Use CP_ACP for non-console output encoding. 2020-11-13 13:18:11 +01:00
icacls programs: Make all program entrypoints cdecl. 2019-10-17 17:05:47 +02:00
icinfo icinfo: Use wide-char string literals. 2020-11-11 21:14:58 +01:00
iexplore iexplore: Use wide-char string literals. 2020-10-13 11:30:41 +02:00
ipconfig ipconfig: Use wide-char string literals. 2020-10-21 10:50:47 +02:00
lodctr programs: Make all program entrypoints cdecl. 2019-10-17 17:05:47 +02:00
mofcomp programs: Make all program entrypoints cdecl. 2019-10-17 17:05:47 +02:00
mshta makefiles: Build stub programs with msvcrt. 2019-04-24 11:27:57 +02:00
msidb msidb: Use wide-char string literals. 2020-11-11 21:14:58 +01:00
msiexec msiexec: Enable visual styles. 2021-06-09 23:38:44 +02:00
msinfo32 msinfo32: Enable visual styles. 2021-06-09 23:38:44 +02:00
net net: Use wide-char string literals. 2020-10-06 11:55:24 +02:00
netsh programs: Make all program entrypoints cdecl. 2019-10-17 17:05:47 +02:00
netstat programs: Make all program entrypoints cdecl. 2019-10-17 17:05:47 +02:00
ngen programs: Make all program entrypoints cdecl. 2019-10-17 17:05:47 +02:00
notepad notepad: Enable visual styles. 2021-06-10 23:04:03 +02:00
oleview oleview: Enable visual styles. 2021-06-10 23:04:03 +02:00
ping programs: Make all program entrypoints cdecl. 2019-10-17 17:05:47 +02:00
plugplay plugplay: Broadcast WM_DEVICECHANGE message asynchronously. 2021-02-16 23:01:38 +01:00
powershell programs: Make all program entrypoints cdecl. 2019-10-17 17:05:47 +02:00
presentationfontcache presentationfontcache: Use wide-char string literals. 2020-10-12 10:40:18 +02:00
progman progman: Use wide-char string literals. 2020-10-08 12:40:29 +02:00
reg reg/tests: Test use of registry views when querying registry values. 2021-07-01 22:34:31 +02:00
regasm programs: Make all program entrypoints cdecl. 2019-10-17 17:05:47 +02:00
regedit regedit: Enable visual styles. 2021-06-10 23:04:03 +02:00
regini programs: Make all program entrypoints cdecl. 2019-10-17 17:05:47 +02:00
regsvcs programs: Make all program entrypoints cdecl. 2019-10-17 17:05:47 +02:00
regsvr32 regsvr32: Restart the correct version for all supported architectures. 2021-04-29 23:37:45 +02:00
rpcss rpcss: Use wide-char string literals. 2020-10-19 10:59:10 +02:00
rundll.exe16 makefiles: Always build 16-bit modules with msvcrt. 2020-04-02 11:09:19 +02:00
rundll32 rundll32: Use wide-char string literals. 2020-10-08 12:40:29 +02:00
sc sc: Fix typos in CLI arguments parsing. 2021-04-12 19:32:15 +02:00
schtasks schtasks/tests: Use wide-char string literals. 2020-10-20 12:42:33 +02:00
sdbinst programs: Make all program entrypoints cdecl. 2019-10-17 17:05:47 +02:00
secedit programs: Make all program entrypoints cdecl. 2019-10-17 17:05:47 +02:00
servicemodelreg programs: Make all program entrypoints cdecl. 2019-10-17 17:05:47 +02:00
services ntdll: Replace __wine_make_process_system by a Wine-specific NtSetInformationProcess() class. 2021-05-24 18:31:27 +02:00
shutdown programs: Make all program entrypoints cdecl. 2019-10-17 17:05:47 +02:00
spoolsv spoolsv: Use wide-char string literals. 2020-10-12 10:40:12 +02:00
start start: Import the correct command-line building algorithm from ntdll. 2021-04-01 18:16:24 +02:00
subst programs: Make all program entrypoints cdecl. 2019-10-17 17:05:47 +02:00
svchost svchost: Inline a simple string. 2020-11-04 09:06:24 +01:00
systeminfo programs: Make all program entrypoints cdecl. 2019-10-17 17:05:47 +02:00
taskkill taskkill: Use wide-char string literals. 2020-10-07 10:16:04 +02:00
tasklist programs: Make all program entrypoints cdecl. 2019-10-17 17:05:47 +02:00
taskmgr taskmgr: Enable visual styles. 2021-06-10 23:04:03 +02:00
termsv termsv: Use wide-char string literals. 2020-10-12 10:40:15 +02:00
uninstaller uninstaller: Enable visual styles. 2021-06-16 09:00:07 +02:00
unlodctr programs: Make all program entrypoints cdecl. 2019-10-17 17:05:47 +02:00
view view: Enable visual styles. 2021-06-10 23:04:03 +02:00
wevtutil programs: Make all program entrypoints cdecl. 2019-10-17 17:05:47 +02:00
where where.exe: Add stub program. 2020-07-01 21:39:25 +02:00
whoami whoami: Add semi-stub application to display username. 2020-03-10 20:12:57 +01:00
wineboot wineboot: Enable visual styles. 2021-06-10 23:04:03 +02:00
winebrowser Revert "winecrt0: Make the main() and wmain() entry points cdecl." 2020-12-04 11:01:41 +01:00
winecfg winecfg: Don't convert font height to points when saving system font metrics. 2021-07-02 12:39:12 +02:00
wineconsole wineconsole: Reimplement as AllocConsole wrapper. 2020-10-12 18:49:41 +02:00
winedbg winedbg: Accept hex values in command line. 2021-07-01 22:34:31 +02:00
winedevice winedevice: Add a missing break statement to device_handler(). 2021-04-08 12:14:31 +02:00
winefile winefile: Enable visual styles. 2021-06-11 10:53:39 +02:00
winemenubuilder winemenubuilder: Use nameless unions. 2021-03-23 09:32:40 +01:00
winemine winemine: Enable visual styles. 2021-06-11 10:53:44 +02:00
winemsibuilder programs: Make all program entrypoints cdecl. 2019-10-17 17:05:47 +02:00
winepath winepath: Avoid CR characters in output. 2020-04-15 22:53:48 +02:00
winetest winetest: Enable visual styles. 2021-06-16 09:00:16 +02:00
winevdm winevdm: Enable visual styles. 2021-06-11 10:54:53 +02:00
winhelp.exe16 makefiles: Always build 16-bit modules with msvcrt. 2020-04-02 11:09:19 +02:00
winhlp32 winhlp32: Build with msvcrt. 2019-05-02 11:08:17 +02:00
winmgmt winmgmt: Use wide-char string literals. 2020-10-12 10:40:21 +02:00
winoldap.mod16 makefiles: Always build 16-bit modules with msvcrt. 2020-04-02 11:09:19 +02:00
winver winver: Enable visual styles. 2021-06-11 10:54:59 +02:00
wmic wmic: Add missing aliases. 2021-03-09 12:01:29 +01:00
wmplayer programs: Make all program entrypoints cdecl. 2019-10-17 17:05:47 +02:00
wordpad wordpad: Enable visual styles. 2021-06-11 10:55:03 +02:00
write write: Use correct wordpad.exe path. 2021-06-09 23:38:44 +02:00
wscript wscript: Use a zero terminated wchar string. 2020-11-04 09:05:47 +01:00
wuauserv programs: Make all program entrypoints cdecl. 2019-10-17 17:05:47 +02:00
wusa wusa: Restart 64-bit version from the system32 directory. 2021-04-16 11:15:18 +02:00
xcopy xcopy: Avoid an empty if-block. 2020-10-21 10:51:01 +02:00