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

Re: [css-inline] drop initial size nitpick

From: Dave Cramer <dauwhe@gmail.com>
Date: Mon, 4 Aug 2014 14:04:17 -0400
Message-ID: <CADxXqOwX4Q8p8kvj15P+Za_6=KJ0gJi50YixwozMMMB8-E4W2w@mail.gmail.com>
To: Alan Stearns <stearns@adobe.com>
Cc: "www-style@w3.org" <www-style@w3.org>
On Wed, Jul 30, 2014 at 8:02 PM, Alan Stearns <stearns@adobe.com> wrote:

> 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.

Sorry--ex-physicists are too fond of those single letters. At least they
weren't Greek! I've redone the equation, both to avoid the use of cryptic
variables, and to generalize to the (usual) case where the drop initial
font is different than the surrounding text font.

Now if only we could actually use W3C recommendations like MathML in W3C
specifications... :)

Received on Monday, 4 August 2014 18:04:45 UTC

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