News for hackers. Stuff that matters.
Re:Apple announces 27-inch 5K Studio Display by astrange on Tuesday March 08, 2022 @11:19PM (#30610890)
Isn'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.

Re:Apple announces 27-inch 5K Studio Display by kllrnohj on Wednesday March 09, 2022 @06:23AM (#30613334)
Androids 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.
Re:Apple announces 27-inch 5K Studio Display by astrange on Wednesday March 09, 2022 @06:11PM (#30621213)
You can't just make the windows bigger on a high res display, the text will be unreadably small.
Re:Apple announces 27-inch 5K Studio Display by kllrnohj on Wednesday March 09, 2022 @06:42PM (#30621464)
Of 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/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.

Re:Apple announces 27-inch 5K Studio Display by astrange on Wednesday March 09, 2022 @08:17PM (#30622130)
And now your controls are either blurry or don't match the text size or you redid them all in vector art.

Text size controls are in iOS as an accessibility feature (dynamic type) but it's not always on and it can't be the approach to HiDPI.