On Thu, 26 Apr 2007, Philippe Wittenbergh wrote:

> font-size-adjust works on the first specified font-family in the
> stylesheet.
>
> You know that the value for Verdana is 0.58 [1]. You specify that.
> If you have 'Verdana', no problems arise, as you say. If 'Verdana' is
> not available, the size of the font that is  actually used will be
> enlarged or reduced to match the aspect value of 'Verdana'.

I'm returning to this discussion we had a few weeks ago, since I learned a 
lot from it but did not quite get some specifics.

It seems that font-size-adjust helps in some sizing issues on Firefox 2 
(Windows) and does not hurt when it does not work, so it's reasonable to 
use it fairly often. Moreover, the new sans-serif fonts in Vista seem to 
have fairly small aspect ratios, so that there will be some problems when 
you write, say,
font-family: Calibri, Arial, sans-serif;

> The only problem I have atm is finding the aspect value for a given
> font. The font contains that information, but I haven't found an
> utility to tell me that value, nor any resource for it - especially
> for fonts I don't have.

This sounds like an odd situation. Are we all expected to find out such 
things by ourselves? I guess I can get to sufficiently accurate results 
by, say, using to copies of letter "x" side by side, one in Verdana in a 
very large font size, the other in the font being investigated. Then I can 
tune the font size of the latter "x" so that the x's are equally tall, and 
then I simply divide the font sizes and multiply the result by 0.58. But 
this is rather clumsy and boring.

-- 
Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to