xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.


Changes between Initial Version and Version 1 of Ticket #163, comment 26


Ignore:
Timestamp:
04/21/14 09:42:00 (8 years ago)
Author:
Antoine Martin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #163, comment 26

    initial v1  
    1 Also, on win32 it looks like we may want/need to do more work. See [http://www.anandtech.com/show/7939/scaling-windows-the-dpi-arms-race AnandTech: Scaling Windows - The DPI Arms Race]: ''Developers can call {{{SetProcessDpiAwareness}}} to declare that their application is DPI aware, and if so, Windows will not perform any scaling of the application. It’s then up to the application developers to decide how best to handle “non-standard” DPI settings.''
     1Also, on win32 it looks like we may want/need to do more work. See [http://www.anandtech.com/show/7939/scaling-windows-the-dpi-arms-race AnandTech: Scaling Windows - The DPI Arms Race]: ''Developers can call [http://msdn.microsoft.com/en-us/library/windows/desktop/dn302122.aspx SetProcessDpiAwareness] to declare that their application is DPI aware, and if so, Windows will not perform any scaling of the application. It’s then up to the application developers to decide how best to handle “non-standard” DPI settings.''
    22We probably want to do that no matter what, since the server is meant to have the same DPI settings the client should not attempt to scale anything.
    33
    44Also: ''With the cropped image, you can instantly see that the font that Chrome is using is not scaling very well. Text in Chrome on a High DPI system is very poor, and defeats the purpose of using a high resolution screen since you actually lose fidelity rather than gain it.''
    55
    6 And finally: ''To get around these issues, Microsoft has expanded the DPI API to allow for per-monitor DPI-aware applications.'' - ''the operating system will send a WM_DPICHANGED message to the application when most of the application’s area has moved to a display with a different DPI level'' (in Windows 8.1). We don't have per-display DPI with Xinerama, but we could just set the global DPI instead. I'm just not sure what "most" means in this context.. more than 50% of the pixels?
     6And finally: ''To get around these issues, Microsoft has expanded the DPI API to allow for per-monitor DPI-aware applications.'' - ''the operating system will send a WM_DPICHANGED message to the application when most of the application’s area has moved to a display with a different DPI level'' (in Windows 8.1). We don't have per-display DPI with Xinerama, but we could just set the global DPI instead. I'm just not sure what "most" means in this context.. more than 50% of the pixels? This will need testing on Windows 7 or later with a display DPI > 120.