W3C home > Mailing lists > Public > www-style@w3.org > January 2000

RE: Units, font sizing, and zoom suggestion for CSS 3

From: Todd Fahrner <fahrner@pobox.com>
Date: Thu, 20 Jan 2000 11:43:36 -0800
Message-Id: <v04220804b4ad11886fb1@[216.185.5.103]>
To: Karlsson Kent - keka <keka@im.se>, www-style <www-style@w3.org>
At 5:47 PM +0100 1/20/00, Karlsson Kent - keka wrote:

>I did not say it was bad per se, just that "em" really is
>something else.
>
>What you are aiming for is the p unit which I suggested.

p is not the same as em in CSS. In TrueType/Type 1 at least, the em 
is a parameter of the font determined by the font designer. It has no 
necessary relation to any physical features of the glyphs. Instead, 
it refers to the interlinear distance when "set solid".

See:

<http://style.metrius.com/junk/enormous.gif> - the horizontal lines 
spanning the windows represent ascent, baseline, and descent. Em is 
the region from ascent to descent. Note that glyph features are free 
to protrude beyond the em, or fall short.

The same font, set solid:
<http://style.metrius.com/junk/emtolineheight.gif>

--
Todd Fahrner
Received on Thursday, 20 January 2000 14:43:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:03 GMT