Hacker News new | past | comments | ask | show | jobs | submit login

Only Macs have really made high-DPI work properly, and especially having multiple monitors with very different DPI.



Mac makes most apps "just work", but it has issues: Any scaling besides the default makes it impossible to do 1:1 device pixel rendering from within an app.

Windows has the complete solution for non-integer pixel ratios. For instance, on this machine, my browser's window.devicePixelRatio is `1.7647058823529411`. For my 4k screen, this means apps should be rendering into 3840x2160 pixels, but scale it /as if/ it were a 2176x1224 display. (2160/devicePixelRatio = 1224.0)

This allows Windows apps to handle non-integer scaling, whereas on Mac this causes apps to get "fuzzy", since they would e.g. render into a 2176x1224 screenbuffer which is upscaled to 4k by the OS compositor.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: