Hacker News new | ask | show | jobs
by astrange 745 days ago
Non-integer scaling is essentially impossible to do well unless you give up and turn all your UI design into web pages. Otherwise you get pixel cracks and other issues from finding all the places things are/aren't rounded properly.

The laptop displays work by scaling down 2x/3x too.

1 comments

Windows does it just fine.
WinUI essentially webpage
I don't even mean the modern stuff. Even fairly old Windows apps can do fractional scaling just fine. WPF does it without a hitch, and it dates back to 2006. Even many WinForms apps can do it, and then of course Qt etc.

But even disregarding all that - if such scaling can be done without problems with webpages, then clearly there's no technical impediment to doing the same elsewhere. It's not like HTML is magic.