Re:[css-inline] Updated WD of CSS Inline Layout

On 2015-09-17 18:16, fantasai wrote:

> The CSS WG has published an updated Working Draft of the
> CSS Inline Layout Module Level 3

On the 'initial-letter' property, I have previously made the case of
wishing to give the flavour of journeyman letterpress printing, in which
'suboptimal alignment' may actually be a desired effect.

I imagined few printers had type founts that exactly spanned the height
of two-lines-of-text-plus-one-thickness-of-leading. So for two lines of
10-on-12pt text the ideal would be somewhere around 22pt, but the
printer would only have had 18 and 24pt founts to chose the drop cap
from. The 18pt character would have the same baseline as the second line
of text, so its cap height would be below the cap height of the first line.

This case would appear to be approximated to by, for example
'initial-letter: 2.75 3'. I suggest this possibility would be made more
evident
if in one of the examples a non-integer <number> were employed for the
first argument.

Section 2.5 shows the calculation for an aligned drop initial (i.e. with
equal size and sink). What would be the calculation when the arguments
are not equal?

If 'initial letter' could additionally take some more direct sizing
argument, such as a percentage of the surrounding text size, the case
would be better met and the "tricky" sizing calculation could in that
instance be avoided.

Negative size values are not allowed. Is it OK that the size might be zero?

-- 
Charles Lamont

Received on Friday, 18 September 2015 01:10:28 UTC