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.

the extras are ignored. [p. 42]<br />

Example(s):<br />

For example:<br />

widths: U+4E00-4E1F 1736 1874 1692<br />

widths: U+1A?? 1490, U+215? 1473 1838 1927 1684 1356 1792<br />

1815 1848 1870 1492 1715 1745 1584 1992 1978 1770<br />

In the first example a range of 32 characters is given, from 4E00 to 4E1F. The<br />

glyph corresponding to the first character (4E00) has a width of 1736, the second<br />

has a width of 1874 and the third, 1692. Because not enough widths have been<br />

provided, the last width replicates to cover the rest of the specified range. The<br />

second example sets a single width, 1490, for an entire range of 256 glyphs and<br />

then explicit widths for a range of 16 glyphs.<br />

This descriptor cannot describe multiple glyphs corresponding to a single character,<br />

or ligatures of multiple characters. Thus, this descriptor can only be used<br />

for scripts that do not have contextual forms or mandatory ligatures. It is nevertheless<br />

useful in those situations. Scripts that require a one-to-many or<br />

many-to-many mapping of characters to glyphs cannot at present use this<br />

descriptor to enable font synthesis although they can still use font downloading or<br />

intelligent matching.<br />

’bbox’ (Descriptor)<br />

Value: , , , <br />

Initial: undefined<br />

Media: visual<br />

This is the descriptor for the maximal bounding box [p. 229] of the font. The<br />

value is a comma-separated list of exactly four numbers specifying, in order, the<br />

lower left x, lower left y, upper right x, and upper right y of the bounding box for<br />

the complete font.<br />

’definition-src’ (Descriptor)<br />

Value: <br />

Initial: undefined<br />

Media: visual<br />

The font descriptors may either be within the font definition in the style sheet,<br />

or may be provided within a separate font definition resource identified by a URI.<br />

The latter approach can reduce network traffic when multiple style sheets reference<br />

the same fonts.<br />

15.3.8 Descriptors for Alignment: ’baseline’, ’centerline’,<br />

’mathline’, and ’topline’<br />

These optional descriptors are used to align runs of different scripts with one<br />

another.<br />

223

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

Saved successfully!

Ooh no, something went wrong!