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

Re: [CSS] font-size-adjust curiosity

From: L. David Baron <dbaron@dbaron.org>
Date: Sun, 4 Mar 2012 16:19:18 -0800
To: Philippe Wittenbergh <ph.wittenbergh@l-c-n.com>
Cc: www-style@w3.org, "Tab Atkins Jr." <jackalmage@gmail.com>
Message-ID: <20120305001918.GA15967@pickering.dbaron.org>
On Monday 2012-03-05 09:13 +0900, Philippe Wittenbergh wrote:
> 
> On Mar 5, 2012, at 6:05 AM, Tab Atkins Jr. wrote:
> 
> > font-size-adjust lets you size fonts by specifying their ex size
> > rather than their em size.
> 
> Uh, no, that is not what font-size-adjust does.
> 
> font-size-adjust  allows the author to specify the aspect-ratio of
> the preferred font, and this makes it possible to resize the
> fallback font to match the size of the preferred font.
> http://dev.w3.org/csswg/css3-fonts/#font-size-adjust-prop

They're the same thing; you can think of it either way:  as a
backwards-compatible way to specify font sizes in terms of x-height,
or as a way to make x-height match across fallback or across changes
in font.  But it's not specific to fallback:  it applies to the
first-choice font too.

-David

-- 
𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                           http://www.mozilla.org/   𝄂
Received on Monday, 5 March 2012 00:19:42 GMT

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