3 ms·
Just made a comment about this recently, but a few year ago Microsoft added an enhanced GDI scaling mode. It applies the scaling during the GDI calls so it can
by ziml77 5y ago
Just made a comment about this recently, but a few year ago Microsoft added an enhanced GDI scaling mode. It applies the scaling during the GDI calls so it can render elements sharply. Obviously this won't magically make low-res images look better and it can't do anything about UI elements not rendered through GDI, but it's much better than just scaling the whole window up after it's rendered.
- kmeisthax 5y agoAKA the "Apple/Android/CSS was right" mode. Personally I think they should abandon/maintenance-mode the "manually scale the pixels to fit the screen" mode and make the "virtual pixels" mode capable of supporting DPI-aware apps.
- chrismorgan 5y agoDPI awareness is generally supposed to be the domain of the lower levels of your GUI library, so that just about everything else above that level just works, and only a very few pieces in a very few apps need to concern themselves with scaling matters. The “System (enhanced)” scaling mode in question here is really just about doing that: patching GDI (the most common lowest level) to be as DPI-aware as possible if the app doesn’t have something else taking care of it. Nothing about Windows’ approach to DPI awareness needs to be abandoned. Your app code isn’t supposed to be DPI-aware, you’re just supposed to use a GUI library that is.