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

Re: [CSS] font-size-adjust curiosity

From: Alan Gresley <alan@css-class.com>
Date: Tue, 06 Mar 2012 01:53:42 +1100
Message-ID: <4F54D376.4040300@css-class.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: John Daggett <jdaggett@mozilla.com>, W3C www-style mailing list <www-style@w3.org>, Schalk Neethling <sneethling@mozilla.com>, Philippe Wittenbergh <ph.wittenbergh@l-c-n.com>
On 5/03/2012 1:46 PM, Tab Atkins Jr. wrote:
> On Sun, Mar 4, 2012 at 6:04 PM, John Daggett<jdaggett@mozilla.com>  wrote:
>> Tab Atkins wrote:
>>> Fallback fonts are *always* the same size as the main font, because
>>> they all use the same font-size declaration.  font-size-adjust just
>>> lets you change what you're using to define "size", because having the
>>> same x-height can be visually more appealing when mixing fonts.
>> No, fallback fonts are sized differently depending upon the ratio of
>> their x-height to em size, as specified in the description of the
>> font-size-adjust property.  The size is determined by a combination
>> of 'font-size' and 'font-size-adjust'.
> Reread what I wrote - I'm saying exactly the same thing as you.  ^_^

Not exactly true. Lucida Bright and Garamond with the same x-height 
would not look good. Unfinished test.


>> The reason for keeping x-height constant is less about being "visually
>> more appealing" than it is about readability at small sizes, where the
>> x-height is a determining factor.
> Okay, sure.
> ~TJ

Alan Gresley
Received on Monday, 5 March 2012 14:54:19 UTC

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