11<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
22 "http://www.w3.org/TR/1998/REC-html40-19980424/loose.dtd">
33<html lang="en">
4- <!-- $Id: fonts.src,v 2.72 2003-01-27 21:34:31 bbos Exp $ -->
4+ <!-- $Id: fonts.src,v 2.73 2003-01-27 22:30:55 bbos Exp $ -->
55<head>
66<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
77<title>Fonts</title>
@@ -65,8 +65,7 @@ in the font set, then repeat step 2 with the next alternative
6565<li>If there is a matching font face, but it doesn't contain a glyph
6666for the current character, and if there is a next alternative
6767'font-family' in the font sets, then repeat step 2 with the next
68- alternative 'font-family'. See <a href="#appendix-c">appendix C</a>
69- for a description of font and character encoding.
68+ alternative 'font-family'.
7069</li>
7170<li>If there is no font within the family selected in 2, then use a
7271UA-dependent default 'font-family' and repeat step 2, using the best
@@ -86,22 +85,22 @@ the CSS 2.1 properties for each character.)
8685</p>
8786<ol>
8887
89- <li><a href="# font-style">'font-style'</a > is tried first. 'italic'
88+ <li><span class="propinst- font-style">'font-style'</span > is tried first. 'italic'
9089will be satisfied if there is either a face in the UA's font database
9190labeled with the CSS keyword 'italic' (preferred) or 'oblique'.
9291Otherwise the values must be matched exactly or font-style will fail.
9392</li>
94- <li><a href="# font-variant">'font-variant'</a > is tried next. 'normal'
93+ <li><span class="propinst- font-variant">'font-variant'</span > is tried next. 'normal'
9594matches a font not labeled as 'small-caps'; 'small-caps' matches (1) a
9695font labeled as 'small-caps', (2) a font in which the small caps are
9796synthesized, or (3) a font where all lowercase letters are replaced by
9897upper case letters. A small-caps font may be synthesized by
9998electronically scaling uppercase letters from a normal font.
10099</li>
101- <li><a href="# font-weight">'font-weight'</a > is matched next, it will
100+ <li><span class="propinst- font-weight">'font-weight'</span > is matched next, it will
102101never fail. (See 'font-weight' below.)
103102</li>
104- <li><a href="# font-size">'font-size'</a > must be matched within a
103+ <li><span class="propinst- font-size">'font-size'</span > must be matched within a
105104UA-dependent margin of tolerance. (Typically, sizes for scalable fonts
106105are rounded to the nearest whole pixel, while the tolerance for
107106bitmapped fonts could be as large as 20%.) Further computations, e.g.
@@ -248,8 +247,8 @@ fonts with old-style numerals, small-caps numerals, condensed or
248247expanded letters, etc. CSS 2.1 has no properties that select those.
249248</p>
250249<p><em>Note:</em> insofar as this property causes text to be
251- transformed to uppercase, the same considerations as for <a
252- href="# text-transform">'text-transform'</a > apply.
250+ transformed to uppercase, the same considerations as for <span
251+ class="propinst- text-transform">'text-transform'</span > apply.
253252</p>
254253<h2><a name="font-boldness">Font boldness</a>: the
255254<span class="propinst-font-weight">'font-weight'</span> property</h2>
@@ -524,12 +523,13 @@ em { font-size: 1.5em }
524523The <span class="propinst-font">'font'</span> property is,
525524except as described <a href="#almost">below</a>, a shorthand property for
526525setting
527- <a href="#font-style">'font-style'</a>
528- <a href="#font-variant">'font-variant'</a>
529- <a href="#font-weight">'font-weight'</a>
530- <a href="#font-size">'font-size'</a>,
531- <a href="#line-height">'line-height'</a> and
532- <a href="#font-family">'font-family'</a> at the same place in the style
526+ <span class="propinst-font-style">'font-style'</span>,
527+ <span class="propinst-font-variant">'font-variant'</span>,
528+ <span class="propinst-font-weight">'font-weight'</span>,
529+ <span class="propinst-font-size">'font-size'</span>,
530+ <span class="propinst-line-height">'line-height'</span> and
531+ <span class="propinst-font-family">'font-family'</span> at the same
532+ place in the style
533533sheet. The syntax of this property is based on a traditional
534534typographical shorthand notation to set multiple properties related to
535535fonts.
0 commit comments