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

[css-inline] drop initial size nitpick

From: Alan Stearns <stearns@adobe.com>
Date: Thu, 31 Jul 2014 00:02:46 +0000
To: "www-style@w3.org" <www-style@w3.org>, Dave Cramer <dauwhe@gmail.com>
Message-ID: <CFFED5B3.1E164%stearns@adobe.com>
Dave,

The formula for the drop initial size is correct, but it assumes that the
drop initial and the rest of the text are using the same font. Drop
initials are often set in a different font than the rest of the text, so
it would be good to note that the first instance of cap-height in the
formula is for the surrounding text, and the second instance of cap-height
is for the drop initial itself.

Also, my eyes tend to cross on formulas with a lot of single-letter
variables. Instead of this:

D = ((N-1) * L + c1*F)/c2

Iąd rather read something like this:

drop-cap-height = 
   ((N-1) * line-height + cap-para * font-size)
   / cap-initial


But that might just be me.

Thanks,

Alan
Received on Thursday, 31 July 2014 00:03:27 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:23 UTC