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

[css-inline] closing up the first line

From: Liam R E Quin <liam@w3.org>
Date: Thu, 11 Dec 2014 22:10:55 -0500
To: "www-style@w3.org" <www-style@w3.org>
Message-ID: <20141211221055.3a382a2b.liam@w3.org>
The convention in print for initials of 2 lines or more is generally that the first line of text is run close to the initial if it's part of the same word, and not otherwise, but I'm not currently sure how to recreate that effect. Of course, one doesn't know the right distance to use in advance, in general (I've implemented it for Latin scripts by kerning a T against the initial, e.g. for an initial A using
  width("A") + width("T") - width("AT")
at the size of the decorative initial -- see

http://4.bp.blogspot.com/-BjAZkt5FYMQ/U22hfPKdYpI/AAAAAAAAAas/E1-VcfVEnao/s1600/114-drop-cap-examples-i.jpg
http://1.bp.blogspot.com/-G4Q32mZeHUw/U22hFU_DhAI/AAAAAAAAAao/j7E3J5p1hLY/s1600/114-drop-cap-examples-h.jpg

linked to with explanatory text near the end of
http://barefootliam.blogspot.ca/2014/05/bruce-rogers-on-drop-caps.html

I'm not sure how this works for non-Latin scripts.

We deferred this, I think, when it was discussed at the Korea F2F (I was only there by telephone) but after experimenting with the polyfill I'm a little dissatisfied and wonder if it's worth trying to get right. A third number? Maybe it's not ready for prime time, but perhaps an open issue in the spec would help it not get lost?

Liam

PS: good work on the spec so far, it's pretty clear.


-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Received on Friday, 12 December 2014 03:10:57 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:49 UTC