On 5/17/07, Sam Carter <[EMAIL PROTECTED]> wrote:
> The example given clearly shows that the browser "knows" the x-height of
> "Times New Roman" to do the calculation.  I don't see why a CSS coder should
>
> "need" to code the x-height of the first font, Verdana?
>
> Wouldn't it make more sense to simply enable or disable font-size-adjust?
>
> What am I missing?
>
> Sam

Hi Sam,

My understanding of the functionality is that it overrides the default
behavior which would be as follows:

body{ font-size 10px Verdana, "Times New Roman"; }

In this case, if Verdana were not available, the font chosen would be
Times New Roman at 10px.  By using the font-size-adjust, you are able
to compensate for the clear difference in "perceived size" between
Verdana (which is readable at 10px) and Times New Roman (which is
generally not readable at 10px).  The font size (as you pointed out)
would convert to between 12 and 13px for Times New Roman--a much more
readable size.

In this case, the browser "knows" the x-height of Times New Roman
because the font is available whereas it does not have access to
Verdana (if it did, font-size-adjust would be moot anyway) for
x-height information.

Brian
______________________________________________________________________
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