Re: [CSS] font-size-adjust curiosity

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 UTC