14 messages in org.css-discuss.lists.css-d[css-d] Estimating x-height
FromSent OnAttachments
David SharpApr 24, 2007 3:07 am 
Simon WhiteApr 24, 2007 3:30 am 
Philippe WittenberghApr 24, 2007 3:54 am 
David SharpApr 24, 2007 10:50 pm 
Jukka K. KorpelaApr 25, 2007 2:57 pm 
Philippe WittenberghApr 25, 2007 4:53 pm 
Jukka K. KorpelaMay 17, 2007 2:44 pm 
Philippe WittenberghMay 17, 2007 7:03 pm 
Bruno FassinoMay 18, 2007 4:25 am 
Jukka K. KorpelaMay 18, 2007 8:03 am 
Jukka K. KorpelaMay 28, 2007 11:07 am 
Lori LayMay 28, 2007 1:37 pm 
Jukka K. KorpelaMay 28, 2007 1:54 pm 
Philippe WittenberghMay 28, 2007 5:19 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[css-d] Estimating x-heightActions...
From:Jukka K. Korpela (@)
Date:May 28, 2007 11:07:22 am
List:org.css-discuss.lists.css-d

(The discussion started under the heading "font-family font sizes", but I now changed the Subject to more specific.)

On Fri, 18 May 2007, Bruno Fassino wrote:

Putting together the above, if we trust Gecko, the aspect ratio of a font can be obtained simply observing the size of an element dimensioned using 'ex' units.

The results are consistent with those I got with my simplistic method that compares the letter x in large font size with a stickyard. See http://www.cs.tut.fi/~jkorpela/x-height.html

It seems that different ways lead to the same results, implying that the figures mentioned in CSS specifications are wrong - most notably when they say that Verdana has an aspect ratio of 0.58, but it actually has 0.545.

This, as well as methods of finding out the x-height value for specific fonts, is of some importance to authors who wish to use font-size-adjust (which helps on Firefox 2 and does no harm when it doesn't).