Re: [css-fonts] Specify that the default "medium" font-size should by 16px?

On Thu, Jan 16, 2014 at 10:30 PM, Gérard Talbot <www-style@gtalbot.org> wrote:
> I do not understand how you can say and why you say that 16px is always
> equal to 12pt, especially if DPI is 180.
>
> Setting the px value (from 16px to, say, 18px) has no impact on the DPI
> setting: I understand that.
>
> As far as I understand this, 16px is equal to 12pt when and only when DPI
> setting is 96.
>
> ...Maybe I'm wrong... pixel density per inch (DPI) affects how big or small
> a 16px font size graphem looks.

Please reread <http://dev.w3.org/csswg/css-values/#absolute-lengths>.
The 'px' unit is an absolute unit, defined to have a 96:1 ratio with
the 'in' unit (and thus a 4:3 ratio with the 'pt' unit).  It has
nothing to do with device pixels, which is what is measured by DPI.

~TJ

Received on Friday, 17 January 2014 16:52:16 UTC