22.12.2013 Views

W3C CSS2 Cascading Style Sheets, level 2 - instructional media + ...

W3C CSS2 Cascading Style Sheets, level 2 - instructional media + ...

W3C CSS2 Cascading Style Sheets, level 2 - instructional media + ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

late between table entries or round off to the closest one. The user agent<br />

may have to extrapolate table values if the numerical value goes beyond the<br />

keywords.<br />

<br />

A length value specifies an absolute font size (that is independent of the<br />

user agent’s font table). Negative lengths are illegal.<br />

<br />

A percentage value specifies an absolute font size relative to the parent<br />

element’s font size. Use of percentage values, or values in ’em’s, leads to<br />

more robust and cascadable style sheets.<br />

The actual value [p. 70] of this property may differ from the computed value<br />

[p. 70] due a numerical value on ’font-size-adjust’ and the unavailability of certain<br />

font sizes.<br />

Child elements inherit the computed ’font-size’ value (otherwise, the effect of<br />

’font-size-adjust’ would compound).<br />

Example(s):<br />

P { font-size: 12pt; }<br />

BLOCKQUOTE { font-size: larger }<br />

EM { font-size: 150% }<br />

EM { font-size: 1.5em }<br />

’font-size-adjust’<br />

Value: | none | inherit<br />

Initial: none<br />

Applies to: all elements<br />

Inherited: yes<br />

Percentages: N/A<br />

Media: visual<br />

In bicameral scripts, the subjective apparent size and legibility of a font are<br />

less dependent on their ’font-size’ value than on the value of their ’x-height’, or,<br />

more usefully, on the ratio of these two values, called the aspect value (font size<br />

divided by x-height). The higher the aspect value, the more likely it is that a font<br />

at smaller sizes will be legible. Inversely, faces with a lower aspect value will<br />

become illegible more rapidly below a given threshold size than faces with a<br />

higher aspect value. Straightforward font substitution that relies on font size<br />

alone may lead to illegible characters.<br />

For example, the popular font Verdana has an aspect value of 0.58; when<br />

Verdana’s font size 100 units, its x-height is 58 units. For comparison, Times<br />

New Roman has an aspect value of 0.46. Verdana will therefore tend to remain<br />

legible at smaller sizes than Times New Roman. Conversely, Verdana will often<br />

look ’too big’ if substituted for Times New Roman at a chosen size.<br />

This property allows authors to specify an aspect value for an element that will<br />

preserve the x-height of the first choice font in the substitute font. Values have<br />

the following meanings:<br />

none<br />

Do not preserve the font’s x-height.<br />

204

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!