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

Re: DSSSL [drop caps]

From: David Perrell <davidp@earthlink.net>
Date: Tue, 22 Apr 1997 20:52:24 -0700
Message-Id: <199704230355.UAA20833@italy.it.earthlink.net>
To: <lee@sq.com>, <www-style@w3.org>
lee@sq.com wrote:
> Only on platforms that do no correction for screen resolution.
> For example, if you're using X Windows on a 150 dpi screen and I'm
> using a Mac with a 72 dpi screen, your 30 pt font might be 100 pixels
high,
> and ine might be 50 pixels high...  However, if you use em for
everything,
> this may not matter too much.

I'm using W95 at 112 ppi. Doesn't matter as long as all measurements
are in the same units. Since em = font-size, all em measures would have
to refer to the same element. 
 
> Actually
>      such that the cap height equals (parent's cap height)
>      + ((drop-lines - 1) * parent's line-height)

I was assuming 'drop-lines' to be just that. "drop-lines: 1" would
align the baseline of the float with the baseline of the parent's
second line and "drop-lines: 0" would not be a drop cap at all. With
this assumption, "(parent's cap height) + (drop-lines * parent's
line-height)" is correct.

David Perrell
Received on Tuesday, 22 April 1997 23:58:00 GMT

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