W3C home > Mailing lists > Public > www-style@w3.org > January 2012

Re: line-height suggestions and easier alignment

From: Anton Prowse <prowse@moonhenge.net>
Date: Mon, 09 Jan 2012 12:05:31 +0100
Message-ID: <4F0AC9FB.9090101@moonhenge.net>
To: www-style@w3.org
On 09/01/2012 11:05, Richard Le Poidevin wrote:

> Whilst I don't understand the complexities of how the lines are laid out
> in browsers for your reference here is how InDesign handles accents.
> http://www.betleywhitehorne.com/ric-lep/fix-css-line-height/indesign-accents.png
> They pop out of the top of the box. It looks like the text is aligned
> using the height of capital letters, and accents are placed above this.
> As each typeface is different I guess the exact spaces may vary as some
> could place accents a little differently or have some letters that are
> taller than others etc.

Thanks, that's interesting.  In that screenshot, if the first "p" in the 
title had been directly above the "I" on the following line, and the "I" 
had had an accent above it, that accent would overlay the bottom of the 
"p", right?

Anton Prowse
Received on Monday, 9 January 2012 11:06:02 UTC

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