-12

・ ❄︎・❆・❅・❆・❄︎ ・

  • they/it

12.10.3.1 Interesting Cases of Automatic Semicolon Insertion in Statement Lists

You must log in to comment.

in reply to @-12's post:

oh it's infinitely worse with text, yeah..

on the web, image positions are aligned to the pixel grid, so you can just use css to enable nearest neighbor scaling, and set the correct width and height, and it'll always look good

but text is positioned more precisely, so it can end up blurred even if you use a 'pixellated' font (note: browsers don't support real bitmap fonts, so you have to fake it using a vector font with lines that are aligned with pixels) it depends on whether the text happens to be at an integer position or not, which you can't easily control (it also varies a lot between devices and operating systems and browsers)