3 ms·
Takeaway: I need to start using units like Inch, Pt, mm instead of pixels.
by rhacker 6y ago
Takeaway: I need to start using units like Inch, Pt, mm instead of pixels.
- chrismorgan 6y agoNo. All of those units are defined in terms of CSS pixels. 1in = 25.4mm = 72pt = 96px
- rhacker 6y agoWell that's just useless then.
- chrismorgan 6y agoThere have been attempts to define physical units (Firefox used to have a unit called mozmm which tried to be one physical millimetre), but eventual consensus is that (a) you can’t actually figure this out, because screens don’t tell you their exact physical sizes; (b) if it’s not accurate, there are exactly zero genuine use cases for it; and (c) even if it was accurate, it would still almost never be correct to use it. Remember that you don’t know the viewing distance, either—letters being 5mm high is all very well twenty centimetres away, but at four metres it’s utterly illegible.
- rhacker 6y agoGood points. I guess there is more to all of this than I originally figured.