My first thought would be to use the win32 package (which allows you to call any windows API function) and then call GetScaleFactorForMonitor to get the scale factor from Windows directly. Or any other win32 api function that provides the info you need to work around the issue (GetDeviceCaps, etc)
1 Like