https://bugs.winehq.org/show_bug.cgi?id=57175
--- Comment #30 from Rémi Bernon rbernon@codeweavers.com --- Since 6f44677c5fbc6b9677a72e27b8cb0a6e494dfad6 we now have support for the AppCompatFlags registry setting, as documented in https://ss64.com/nt/syntax-compatibility.html.
The setting can be set per-user (HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers) or globally ( HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers).
It can then be set for individual application (using the application path as the value of the registry entry), or globally (using the default registry value '@' for the key).
The data can either be set to DPIUNAWARE or HIGHDPIAWARE, to force application DPI awareness to off or on respectively.