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

Re: [CSS] font-size-adjust curiosity

From: John Daggett <jdaggett@mozilla.com>
Date: Sun, 4 Mar 2012 18:04:03 -0800 (PST)
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: W3C www-style mailing list <www-style@w3.org>, Schalk Neethling <sneethling@mozilla.com>, Philippe Wittenbergh <ph.wittenbergh@l-c-n.com>
Message-ID: <1971139437.4663675.1330913043362.JavaMail.root@zimbra1.shared.sjc1.mozilla.com>
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'.

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.

Regards,

John Daggett
Received on Monday, 5 March 2012 02:04:32 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:51 GMT