Re: [CSS] font-size-adjust curiosity

On Sun, Mar 4, 2012 at 4:13 PM, 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.

What David said.  When you specify:

.foo { font-size: 20px; font-size-adjust: .6; } are in effect saying "size the font so that the x-height is
12px" rather than "size the font so that the em-height is 20px".

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.


Received on Monday, 5 March 2012 01:27:20 UTC