Previous Message
Next Message

Re: [css-d] understanding scaling factors for % and EM

Sent by Tim Rivera on 30 September 2002 03:03


> http://www.w3.org/TR/REC-CSS2/fonts.html#value-def-absolute-size
> recommends a 1.2 scaling factor for "absolute" font sizes, and suggests
> a base font size of 12.
>
> Here's what I came up with:
>     large = 14.4px
>   medium = 12px


Your conversion chart uses the wrong length unit. The spec says:
"if the 'medium' font is 12pt, the 'large' font could be 14.4pt"

You used pixels, "relative to the viewing device", instead of points, "the
points used by CSS2 are equal to 1/72th of an inch".


Tim
Previous Message
Next Message

Possibly related: