3 ms·
It might be because the font size is defined in the CSS in pixel units, instead of em, which is a point size (DPI dependent). http://www.w3.org/TR/REC-CSS2/syn
by testtest 11y ago
It might be because the font size is defined in the CSS in pixel units, instead of em, which is a point size (DPI dependent).
http://www.w3.org/TR/REC-CSS2/syndata.html#length-units http://www.w3.org/TR/REC-CSS2/syndata.html#length-units
If you have a problem reading text on the screen, I suggest you use something like Clearly extension that reformats pages with a much more reading-friendly style.
You don't have to sign up to use this extension :
https://evernote.com/clearly/ https://evernote.com/clearly/
You can also try to print the page into a PDF and read it like that.
- wereHamster 11y agoNote that CSS pixels are not the same as physical pixels. Browsers are free to rescale CSS pixel values. Indeed, it's written in the document you linked to: > If the pixel density of the output device is very different from that of a typical computer display, the user agent should rescale pixel values. So actually 12px font should look about the same on all output devices, regardless of their physical DPI. But I agree that 12px is rather small for copy text.
- Someone 11y ago12px font also could become very small in the future, if typical computer displays end up having high dpi. I guess a conforming browser should randomly sample computer displays before deciding how big 1px is. Serious version: I don't think text like that should make it into a standard.
- sbierwagen 11y agoAs the page you linked to says, CSS px is also DPI-dependant, since it's defined as 1/96in. (There's even a diagram showing how one px can be many hardware pixels/dots on high-DPI output)