Re:MacBook Pro 14-inch and MacBook Pro 16-inch
by ziml77 on Monday October 18, 2021 @04:41PM
(#28911422)
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.
[ Parent
| on HN ]
Re:MacBook Pro 14-inch and MacBook Pro 16-inch
by kmeisthax on Monday October 18, 2021 @07:41PM
(#28913259)
AKA 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.
Re:MacBook Pro 14-inch and MacBook Pro 16-inch
by chrismorgan on Monday October 18, 2021 @11:15PM
(#28914481)
DPI 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.