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 1:54:49 pm
List:org.css-discuss.lists.css-d

On Mon, 28 May 2007, Lori Lay wrote:

I don't think you can rely on the size of elements dimensioned in ex units. Eric says in his book that many user agents get their value for ex by taking the value of em and dividing it in half.

Most browsers do that, and it pretty much defeats the idea of ex, but Firefox 2 has an adequate implementation of ex _and_ it supports font-size-adjust, making the unit and the property practically important to some extent. Using the ex unit, you naturally need to be prepared to having it interpreted as 0.5em.

Also, would monitor resolutions or dot pitch have any impact on your calculations? Since you are taking a ratio, I wouldn't think so, but I wonder...

They affect the estimates, but not very much when a very large font size is used.