W3C home > Mailing lists > Public > www-style@w3.org > July 1997

Re: Height/Width of Font (does line-height affect font appearance)

From: Todd Fahrner <fahrner@pobox.com>
Date: Tue, 22 Jul 1997 17:24:23 -0700
Message-Id: <v0310280aaffafdd608bc@[206.245.203.103]>
To: neil@bigpic.com, www-style@w3.org
At 5:52 PM -0600 7/22/97, Neil St.Laurent wrote:
>Does the line-height attribute actually affect the vertical size of
>the font?

No, it adds or subtracts from the font's "native" line-height, which is
equivalent to its size.

>If not, does the font-size refer to the vertical size and
>the width is chosen based on the glyph definition?

If by vertical size you mean "unaltered line height" - yes. Widths are
glyph-specific. If the actual width of an M is 1em, it's an accident.

>Everything appears to just refer to font-size, except for the
>shorthand "font" which has line-height grouped in, which makes we
>wonder if it affects the font size at all.

Not sure what you mean by "line-height grouped in". In a 12-point font, the
actual distance from the top of the ascenders to the bottom of the
descenders is typically a bit less than 12-point, in order to keep these
from touching on contiguous lines when set without extra line height
(leading).

________________________________________
Todd Fahrner
mailto:fahrner@pobox.com
http://www.verso.com/

The printed page transcends space and time. The printed page, the
infinitude of books, must be transcended. THE ELECTRO-LIBRARY.

--El Lissitzky, 1923
Received on Tuesday, 22 July 1997 20:13:48 GMT

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