You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<P>In the CSS2 font model, as in CSS1, each user agent has a "font
69
-
database" at its disposition. CSS1 refferred to this database but gave no details about what was in it. CSS2 defines the information in that database and allows style sheet authors to contribute to it. When asked to display a character with a particular font,
69
+
database" at its disposition. CSS1 referred to this database but gave no details about what was in it. CSS2 defines the information in that database and allows style sheet authors to contribute to it. When asked to display a character with a particular font,
70
70
the user agent first identifies the font in the database that "best
71
71
fits" the specified font (according to the <a href="#algorithm">font
72
72
matching algorithm)</a> Once it has identified a font, it retrieves
@@ -516,7 +516,7 @@ due a numerical value on 'font-size-adjust' and the unavailability
<P>In <span class="index-inst" title="bicameral">bicameral</span> scripts, the subjective apparent size (and general
519
-
character of a font on screen) is less dependent on its <span class="propinst-font-size">'font-size'</span> than on the value of its <span class="definst-x-height">x-height</span>, or, more usefully, on the
519
+
character of a font on screen) is less dependent on its <span class="propinst-font-size">'font-size'</span> than on the value of its <span class="descinst-x-height">x-height</span>, or, more usefully, on the
520
520
ratio of these two values, called the <span class="index-def" title="z
521
521
value"><dfn>z value</dfn></span> (font size divided by x-height). The
522
522
lower the z value, the more likely it is that a font at smaller em
@@ -526,7 +526,7 @@ with a lower z value. Straightforward font substitution that relies on
526
526
font size alone may lead to illegible characters.
527
527
528
528
<P>For example, the popular font Verdana has a z value of 1.72; in an
529
-
instance of Verdana with <span class="propinst-font-size">'font-size'</span> 100 points, the <span class="definst-x-height">x-height</span> is 58
529
+
instance of Verdana with <span class="propinst-font-size">'font-size'</span> 100 points, the <span class="descinst-x-height">x-height</span> is 58
530
530
pt (100/58=1.72). For comparison, Times New Roman has a z value of
531
531
2.17. As the z value increases, a font for a <span class="index-inst" title="bicameral">bicameral</span> script becomes less legible at a given point size.
532
532
@@ -600,7 +600,7 @@ in the style sheet. <!-- but not font-size-adjust or font-stretch -CL --> The sy
600
600
this property is based on a traditional typographical shorthand
601
601
notation to set multiple properties related to fonts.
602
602
603
-
<p>All font related properties are first reset to their initial values, including those listed in the preceeding paragraph plus <span class="propinst-font-stretch">'font-stretch'</span> and <span class="propinst-font-size-adjust">'font-size-adjust'</span>. Then, those properties that are given explicit values in the <span class="propinst-font">'font'</span> shorthand are set to those values. For a definition of allowed and initial values, see the previously defined properties. For reasons of backwards compatibility, it is not possible to set <span class="propinst-font-stretch">'font-stretch'</span> and <span class="propinst-font-size-adjust">'font-size-adjust'</span> to other than their initial values using the <span class="propinst-font">'font'</span> shorthand property; instead, set the individual properties.
603
+
<p>All font related properties are first reset to their initial values, including those listed in the preceding paragraph plus <span class="propinst-font-stretch">'font-stretch'</span> and <span class="propinst-font-size-adjust">'font-size-adjust'</span>. Then, those properties that are given explicit values in the <span class="propinst-font">'font'</span> shorthand are set to those values. For a definition of allowed and initial values, see the previously defined properties. For reasons of backwards compatibility, it is not possible to set <span class="propinst-font-stretch">'font-stretch'</span> and <span class="propinst-font-size-adjust">'font-size-adjust'</span> to other than their initial values using the <span class="propinst-font">'font'</span> shorthand property; instead, set the individual properties.
604
604
605
605
<div class="example"><P>
606
606
Examples:
@@ -678,7 +678,7 @@ fonts can only be specified with this property, not with <span
678
678
class="propinst-font-family">'font-family'</span> itself, so <span
679
679
class="propinst-font">'font'</span> allows authors to do more than the
680
680
sum of its subproperties. However, the individual properties such as <span class="propinst-font-weight">'font-weight'</span> are still given values taken from the system font, which can be independently varied.</p>
681
-
<!-- strange glitch, the last two paragraphs ocurred twice in slightly different forms - merged and the spare copy deleted -CL -->
681
+
<!-- strange glitch, the last two paragraphs occurred twice in slightly different forms - merged and the spare copy deleted -CL -->
682
682
683
683
<div class="example">
684
684
<p>Example:
@@ -1050,7 +1050,7 @@ font descriptors may be much weaker than on the full font data. Thus,
1050
1050
it may be possible to locally install the font definition, or at least
1051
1051
to have it in a local cache if it occurs in a commonly-referenced style sheet; which would not require accessing the
1052
1052
full font definition over the Web more than once per named font.
1053
-
<!-- this justification applies even if the decriptors are in a local stylesheet -->
1053
+
<!-- this justification applies even if the descriptors are in a local stylesheet -->
1054
1054
1055
1055
<P>If a font descriptor is duplicated, the last occurring descriptor
1056
1056
wins and the rest must be ignored.
@@ -1872,13 +1872,13 @@ parent font, the bbox should be that of the parent font.
1872
1872
1873
1873
<p>This measurement, on the em square, is from the baseline to the highest point reached by any glyph, excluding any accents or diacritical marks.
1874
1874
1875
-
<p><img src="images/ascender.gif" alt="Diagram showning several glyphs and the maximum unaccented height"></p>
1875
+
<p><img src="images/ascender.gif" alt="Diagram showing several glyphs and the maximum unaccented height"></p>
<p>Authoring tools should allow style sheet authors to add and edit font descriptors. In some cases, however, authoring tools can help by examining locally installed fonts and automatically generating decriptors for fonts referenced in the style sheet. This is also a function that can be carried out by tools which subset or convert fonts ready for dynamic download.
503
+
<p>Authoring tools should allow style sheet authors to add and edit font descriptors. In some cases, however, authoring tools can help by examining locally installed fonts and automatically generating descriptors for fonts referenced in the style sheet. This is also a function that can be carried out by tools which subset or convert fonts ready for dynamic download.
504
504
505
505
<p>This table suggests where such information can be found, for common font formats.</p>
0 commit comments