3 ms·
Your suggestion was tried for years and failed every time because it doesn’t work. HiDPI shipped because it was 2x or nothing. (Later there was 3x.) The reason
by astrange 5y ago
Your suggestion was tried for years and failed every time because it doesn’t work. HiDPI shipped because it was 2x or nothing. (Later there was 3x.)
The reason Windows developers still think it might work is they have no taste and don’t care about localized UI, pixel cracks, or blurry bitmap controls.
- naikrovek 5y agonah, hidpi on Windows is fine if you know what you're doing as an application developer. it's those who haven't bothered to make the changes recommended or required that make windows hidpi support look worse than it is in single-monitor setups. multiple monitors on Windows with varying dpi scales is not great though, and probably can't be until some backwards compatibility promises are broken or expired.
- nickpp 5y agoIn the latest Windows 11 there are a bunch of native OS dialog which are not high-dpi aware and look pixelated on my 4K monitor. If even Microsoft can’t be bothered, what do you expect from app developers?!
- int_19h 5y agoDialogs themselves are HiDPI-aware; but if the app that opens them doesn't advertise itself as HiDPI-aware, it doesn't help.
- solarmist 5y ago>nah, hidpi on Windows is fine… Exactly, it’s fine. Apple has never settled for “fine” either it’s great or it gets cuts at some point. >if you know what you’re doing as an application developer. Apple also tends to avoid wading into footgun waters to keep quality (for 3rd party devs) as high as possible across the board.
- xenadu02 5y ago> nah, hidpi on Windows is fine if you know what you're doing as an application developer. Many (most?) don't or can't be bothered so the end result in practice is that it doesn't work. Microsoft has been chasing the HiDPI fairy for decades and the situation hasn't really gotten better. They still ship software (both in and outside the OS) that isn't HiDPI aware. Retina prioritizes making it easy for developers to adopt: Double the size of artwork, points are 2 pixels, Done. Are there quibbles? Sure. But millions of people are looking at HiDPI screens where every single thing in the OS and all third party apps they use fully support 2x. No one lives in the magical world where arbitrary scaling factors are supported. Doing that as a developer is just too damn complicated when @1x + @2x (and maybe @3x) makes 98% of people happy and is vastly less work.
- astrange 5y ago> Microsoft has been chasing the HiDPI fairy for decades and the situation hasn't really gotten better. Well, I want to say it has gotten better. Their Metro design is what a UI has to look like to work with arbitrary scales and still solve those problems I mentioned. The downsides are it uses simple geometric shapes and has tons of whitespace everywhere so text can reflow in longer languages. This is probably another big reason behind “flat design” in modern websites, the old skuomorphic (sp) stuff would be hard to do with vectors. (As for vectors in UI, they have other performance issues which are important if you like live resizing windows.)
- int_19h 5y agoThe vast majority of apps on modern Windows (10+) just works. I've been running all kinds of weird scaling factors like 175% for the past several years with no issues.
- kllrnohj 5y agoAndroid has been shipping arbitrary DPI support for longer than iOS or MacOS has supported the limited 2x HiDPI, and it doesn't have the issues you're talking about. It's definitely possible to do, although retrofitting an existing UI toolkit & ecosystem is a massive challenge.
- astrange 5y agoIsn't the Android SDK older than iOS? Either way, it can't escape blurriness. There's bitmaps on this very page and if I zoom in the reply button misrenders. Actually it can't escape pixel cracks either, as I seem to remember OpenGL ES 1.0 including GL_LINES where the default width is 1px.
- kllrnohj 5y agoAndroids pixels are display pixels, there's no post-render scaling. So no pixel cracks, no blurriness, etc... Density is instead handled mostly at layout, as it should be.
- astrange 5y agoYou can't just make the windows bigger on a high res display, the text will be unreadably small.
- kllrnohj 5y agoOf course you can. Text only ends up unreadably small if your text is specified in pixels. Which on a density-aware toolkit (like Android's) it isn't. https://developer.android.com/training/multiscreen/screendensities https://developer.android.com/training/multiscreen/screenden... This is also best practice on many other platforms, too (eg, 'pt' and 'em' units). This is far less commonly followed on most toolkits, though, but it's the norm on Android.
- astrange 5y ago