Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I’d express it much more strongly than you have: doing what this article suggests is catastrophically wrong. For layout purposes you must not look at physical resolution. Physical resolution should only be used so that you can render on scaled displays at higher quality, e.g. by choosing a higher-resolution image, or by scaling your canvas by devicePixelRatio so you can draw more precise lines.

The proposed solution is not just no better, but far, far worse.



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

Search: