Gunlaug Sørtun wrote:

> Angela French wrote:
>
>> Is there no way to get "in between" sizes?
>
> Not on today's screens where a pixel is a screen-pixel.

Modern technology often makes subpixels available. It is unclear how they 
should relate to the pixel concept of CSS, which is rather vague - it's not 
simply a screen pixel (and don't ask me what it really is by CSS specs).

But in addition to this, there is no logical necessity for turning font-size 
values to an integral multiple of a pixel even if we assume that everything 
on screen consists of atomic pixels. The font-size value does not specify 
any dimension of any character. Instead, it is a conceptual reference value, 
the height of the font. Thus, you could well have a e.g. font size of 11.0px 
as different from 11.4px in the sense that the actual character sizes vary 
at least for some characters.

> Note that the rounding-point for em/% to screen-pixels is not the same
> across browser-land, so calculate in +-1px variation.

There is indeed a lot of variation, and it also depends on the units used. 
What's puzzling is that IE seems to _truncate_ e.g. 11.9px to 11px instead 
of rounding it to 12px.

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

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to