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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

There are also fonts that leave it to the graphic designer to choose from among<br />

various alternative shapes provided. Unfortunately, <strong>CSS2</strong> doesn’t yet provide the<br />

means to select those alternatives. Currently, it is always the default shape that<br />

is chosen from such fonts.<br />

15.4.6 Font family name<br />

This specifies the family name portion of the font face name. For example, the<br />

family name for Helvetica-Bold is Helvetica and the family name of ITC Stone<br />

Serif Semibold Italic is ITC Stone Serif. Some systems treat adornments relating<br />

to condensed or expanded faces as if they were part of the family name.<br />

15.4.7 Glyph widths<br />

This is a list of widths, on the design grid, for the glyph corresponding to each<br />

character. The list is ordered by ISO10646 code point. Widths cannot usefully be<br />

specified when more than one glyph maps to the same character or when there<br />

are mandatory ligatures.<br />

15.4.8 Horizontal stem width<br />

This value refers to the dominant stem of the font. There may be two or more<br />

designed widths. For example, the main vertical stems of Roman characters will<br />

differ from the thin stems on serifed "M" and "N", plus there may be different<br />

widths for uppercase and lowercase characters in the same font. Also, either by<br />

design or by error, all stems may have slightly different widths.<br />

15.4.9 Height of uppercase glyphs<br />

This measurement is the y-coordinate of the top of flat uppercase letters in Latin,<br />

Greek, and Cyrillic scripts, measured from the baseline. This descriptor is not<br />

necessarily useful for fonts that do not contain any glyphs from these scripts.<br />

15.4.10 Height of lowercase glyphs<br />

This measurement is the y-coordinate of the top of unaccented, non-ascending<br />

lowercase letters in Latin, Greek and Cyrillic scripts, measured from the baseline.<br />

Flat-topped letters are used, ignoring any optical correction zone. This is usually<br />

used as a ratio of lowercase to uppercase heights as a means to compare font<br />

families.<br />

This descriptor is not useful for fonts that do not contain any glyphs from these<br />

scripts. Since the heights of lowercase and uppercase letters are often<br />

expressed as a ratio for comparing different fonts, it may be useful to set both the<br />

lowercase and uppercase heights to the same value for unicameral scripts such<br />

as Hebrew, where for mixed Latin and Hebrew text, the Hebrew characters are<br />

typically set at a height midway between the uppercase and lowercase heights of<br />

the Latin font.<br />

228

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

Saved successfully!

Ooh no, something went wrong!