Skip to content

Commit 40abda2

Browse files
committed
[css2] made changes requested by Ian
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%401606
1 parent 260f424 commit 40abda2

File tree

2 files changed

+46
-56
lines changed

2 files changed

+46
-56
lines changed

css2/fonts.src

Lines changed: 22 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
22
<html lang="en">
3-
<!-- $Id: fonts.src,v 2.44 1998-04-30 21:44:12 howcome Exp $ -->
3+
<!-- $Id: fonts.src,v 2.45 1998-04-30 23:43:42 clilley Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Fonts</TITLE>
@@ -62,8 +62,7 @@ is not immediately available.
6262

6363
<p>CSS2 improves client-side font matching, enables font
6464
synthesis and progressive rendering, and enables fonts to be
65-
downloaded over the Web.
66-
65+
downloaded over the Web. These enhanced capabilities are referred to as 'WebFonts'
6766

6867
<P>In the CSS2 font model, as in CSS1, each user agent has a "font
6968
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,
@@ -232,8 +231,6 @@ href="syndata.html#ignore">ignored</a></span> and any sequence of
232231
whitespace characters inside the font name is converted to a single
233232
space.
234233

235-
<!-- Change should to must above? -IJ -->
236-
237234
<DT><span class="index-def"
238235
title="&lt;generic-family&gt;::definition of"><a name="value-def-generic-family" class="value-def"><strong>&lt;generic-family&gt;</strong></a></span>
239236
<DD>
@@ -242,7 +239,7 @@ title="&lt;generic-family&gt;::definition of"><a name="value-def-generic-family"
242239
'fantasy', and 'monospace'. Please see the section on
243240
<a href="#generic-font-families">generic font families</a> for
244241
descriptions of these families. Generic font family names
245-
are keywords and therefore must not be quoted.
242+
are keywords, and therefore must not be quoted.
246243

247244
<P>Authors are encouraged to offer a generic font family as a
248245
last alternative, for improved robustness.</p>
@@ -274,7 +271,6 @@ For example:
274271
*:lang(ja-jp) { font: 900 14pt/16pt "Heisei Mincho W9", serif }
275272
*:lang(zh-tw) { font: 800 14pt/16.5pt "Li Sung", serif }
276273
</pre>
277-
<!-- need to check tw for traditional chinese as used in taiwan -->
278274

279275
<p>This selects any element that has the given language - Japanese or Traditional Chinese - and requests the appropriate font.
280276
</div>
@@ -329,7 +325,7 @@ H1 EM { font-style: normal }
329325
to the uppercase ones, but in a smaller size and with slightly
330326
different proportions. The <span
331327
class="propinst-font-variant">'font-variant'</span> property requests such a font for <span class="index-def" title="bicameral::definition of">bicameral</span> (having two cases, as with Latin script). This property has no visible effect for scripts that are
332-
<span class="index-def" title="unicameral, definition of"><dfn>unicameral</dfn></span> (having only one case, as with most of the world's writing systems). Values have the following
328+
<span class="index-def" title="unicameral::definition of"><dfn>unicameral</dfn></span> (having only one case, as with most of the world's writing systems). Values have the following
333329
meanings:</p>
334330

335331
<dl>
@@ -511,8 +507,6 @@ due a numerical value on 'font-size-adjust' and the unavailability
511507
class="propinst-font-size-adjust">'font-size-adjust'</span> would
512508
compound).
513509

514-
<!-- hakons suggested full fix of this involves changes that alter semantics from CSS1, so I didn't do that yet -CL -->
515-
516510
<div class="example"><P>
517511

518512
<PRE>
@@ -672,7 +666,7 @@ class="propinst-font">'font'</span> shorthand property.
672666
fonts">system fonts</span>:</p>
673667

674668
<dl>
675-
<dt><strong>caption</strong><!-- strong?? you mean like, bold? -->
669+
<dt><strong>caption</strong><!-- strong?? you mean like, shouted? ;-) -->
676670
<dd>The font used for captioned controls (e.g., buttons, drop-downs, etc.).
677671
<dt><strong>icon</strong>
678672
<dd>The font used to label icons.
@@ -701,7 +695,6 @@ fonts can only be specified with this property, not with <span
701695
class="propinst-font-family">'font-family'</span> itself, so <span
702696
class="propinst-font">'font'</span> allows authors to do more than the
703697
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>
704-
<!-- strange glitch, the last two paragraphs occurred twice in slightly different forms - merged and the spare copy deleted -CL -->
705698

706699
<div class="example"><p>
707700

@@ -712,12 +705,15 @@ BUTTON P EM { font-weight: bolder }
712705
</pre>
713706

714707
<p>If the font used for dropdown menus on a particular system
715-
happened to be 9-point Charcoal, with a weight of 600, then P
708+
happened to be, for example, 9-point Charcoal, with a weight of 600, then P
716709
elements that were descendants of BUTTON would be displayed as if
717-
this rule were in effect (the values for the remaining properties
718-
being taken from the initial values):
710+
this rule were in effect:
719711

720-
<!-- Not clear to me -IJ -->
712+
<pre>
713+
BUTTON P { font: 9pt 600 Charcoal }
714+
</pre>
715+
716+
<p>Because the <span class="propinst-font">'font'</span> shorthand resets to its initial value any property not explicitly given a value, this has the same effect as this declaration:
721717

722718
<pre>
723719
BUTTON P {
@@ -938,8 +934,6 @@ read while the requested font downloads. Once the real font has been
938934
successfully downloaded, it replaces the
939935
temporary font, hopefully without the need to reflow.
940936

941-
<!-- near duplicate paragraph removed -->
942-
943937
<div class="note"><P>
944938
<em><strong>Note.</strong>
945939
Progressive rendering requires metric information about the font in
@@ -1086,7 +1080,7 @@ stylesheet -->
10861080
wins and the rest must be ignored.
10871081

10881082
<p>Also, any descriptors that are not recognized or useful to the
1089-
user agent should be <span class="index-inst" title="ignore"><a
1083+
user agent must be <span class="index-inst" title="ignore"><a
10901084
href="syndata.html#ignore">ignored</a></span>. Future versions of CSS
10911085
may allow additional descriptors for the purpose of better font
10921086
substitution, matching, or synthesis.</p>
@@ -1293,8 +1287,6 @@ other descriptors depend on it.
12931287

12941288
<!-- #include src=descriptors/units-per-em.srb -->
12951289

1296-
<!-- Is this the definition of em-width? -IJ -->
1297-
<!-- No, it is the definition of how the em-width is subdivided to form a coordinate system for describing the shape of each glyph -CL -->
12981290

12991291
<p>This is the descriptor for the number of the <a
13001292
href="#emsq">coordinate units on the em square</a>, the
@@ -1308,10 +1300,9 @@ downloadable or locally installed.
13081300

13091301
<!-- #include src=descriptors/src.srb -->
13101302

1311-
<p>This is a <!-- where is the font characteristic, -CL --> prioritized, comma-separated list of external references and/or locally
1303+
<p>This is a prioritized, comma-separated list of external references and/or locally
13121304
installed font face names. The external reference points to the font data on the Web. This is required if the WebFont is to be downloaded. The font resource
13131305
may be a subset of the source font, for example it may contain only the glyphs needed for the current page or for a set of pages.
1314-
<!-- move some of this discussion to characteristics section? -CL -->
13151306

13161307
<p>The external reference consists of a URI, followed by an optional hint regarding the format of font resource to be found at that URI, and this information should be used by clients to avoid following links to fonts in formats they are unable to use. As with any hypertext reference, there may be other formats available, but the client has a better idea of what is likely to be there, in a more robust way than trying to parse filename extensions in URIs.
13171308

@@ -1334,7 +1325,7 @@ that denote well-known font formats. The user agent will recognize the name of f
13341325

13351326
<p>As with <a href="syndata.html#uri">other URIs in CSS</a>, the URI may be partial, in which case it is resolved relative to the location of the style sheet containing the <span class="index-inst" title="@font-face"> @font-face</span>.
13361327

1337-
<p> The <span class="index-def" title="&lt;font-face-name&gt;::definition
1328+
<p> The locally-installed <span class="index-def" title="&lt;font-face-name&gt;::definition
13381329
of"><a name="value-def-font-face-name">&lt;font-face-name&gt;</a></span>
13391330
is the full font name of a locally installed font. The <span
13401331
class="index-def" title="full font name"><dfn>full font
@@ -1391,18 +1382,20 @@ class="descinst-panose-1">'panose-1'</span>,
13911382
</h3>
13921383

13931384
<P>These descriptors are optional for a CSS2 definition,
1394-
but may be used if intelligent font matching or font size adjustment is desired by the author.
1385+
but may be used if intelligent font matching or font size adjustment
1386+
is desired by the author.
13951387

13961388
<!-- #include src=descriptors/panose-1.srb -->
13971389

13981390
<p>This is the descriptor for the <a href="#pan1">Panose-1 number</a>
1399-
and consists of ten decimal numbers, separated by <a
1391+
and consists of ten decimal integers, separated by <a
14001392
href="syndata.html#whitespace">whitespace</a>. A comma-separated list
14011393
is not permitted for this descriptor, because the <span
14021394
class="index-inst" title="panose-1">Panose-1</span> system can
14031395
indicate that a range of values are matched. The initial value is zero,
14041396
which means "any", for each PANOSE digit; all fonts will match the
1405-
Panose number if this value is used. Use of the Panose-1 descriptor is strongly recommended for latin fonts.
1397+
Panose number if this value is used. Use of the Panose-1 descriptor
1398+
is strongly recommended for latin fonts. For further details, see <a href="notes.html#panose">Appendix C</a>.
14061399

14071400

14081401
<!-- #include src=descriptors/stemv.srb -->
@@ -1598,6 +1591,8 @@ value such as the ascent. If this descriptor is used, the
15981591
<tr><td>Swiss 721 Expanded <td>roman, bold, italic, bold italic
15991592
</table>
16001593

1594+
<p>The following font descriptions could be used to make them available for download.
1595+
16011596
<pre>
16021597
@font-face {
16031598
font-family: "Swiss 721";
@@ -1922,31 +1917,8 @@ Chinese/Japanese/Korean).
19221917

19231918
<!-- [start non-normative block, HWL]
19241919

1925-
Panose-1 technology was originally
1926-
developed by Elseware Corporation and is now owned by Hewlett Packard.
1927-
1928-
1929-
<p><img src="./images/panose-16.gif" alt="Illustration of Panose-1"></p>
1930-
1931-
<p>The Family, Serif Style and Proportion numbers are used by
1932-
Windows95 for font selection and matching.
1933-
1934-
<p>The meaning of the ten numbers and the allowable values (given in
1935-
parentheses) are given in <a href="notes.html#panose">Appendix
1936-
C</a> for the most common case, where the "family" digit is <tt>2,
1937-
Text and Display</tt>. (If the first digit has a different value, the
1938-
remaining nine digits have different meanings).
1939-
1940-
<p><em>Panose-2</em> (see [[-PANOSE2]]) is a specification for a
1941-
more comprehensive font classification and matching technology which
1942-
is not limited to Latin typefaces. For example, the serif
1943-
characteristics of a Latin face may be compared with the stroke
1944-
terminations of a Kanji face.
19451920

1946-
<p><img src="./images/P2F24.gif" alt="Illustration of Panose-2"></p>
19471921

1948-
<p>The Panose-2 value is not stored inside any known font formats, but
1949-
may be measured.
19501922

19511923
[end non-normative block, HWL] -->
19521924

css2/notes.src

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
22
<html lang="en">
3-
<!-- $Id: notes.src,v 2.11 1998-04-30 19:23:59 howcome Exp $ -->
3+
<!-- $Id: notes.src,v 2.12 1998-04-30 23:44:17 clilley Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Appendix C: Implementation and performance notes</TITLE>
@@ -216,14 +216,22 @@ assertion into the font resource.
216216
platforms. To select a preferred font format, transparent content
217217
negotiation is used (see [[-NEGOT]]). It is always possible to
218218
tell when a font is being dereferenced, because the URI is inside a
219-
font description. Thus, only the relevant Accept headers need be sent
220-
(not headers related to images, HTML, etc).
219+
font description. A given implementation will know which downloadable
220+
font formats it supports and can thus use the format hint to avoid
221+
downloading fonts in an unsupported format.
221222

222223
<h2><a name="panose">Meaning of the Panose Digits</a></h2>
223224

224-
<p>If the "Family" digit has a value other than "2" (the most common
225-
case), the remaining nine digits have different meanings than those
226-
given here. For further details on Panose-1, see [[-PANOSE]].
225+
<p><img src="./images/panose-16.gif" alt="Illustration of Panose-1"></p>
226+
227+
<p>The Family, Serif Style and Proportion numbers are used by
228+
Windows95 for font selection and matching.
229+
230+
<p>The meaning of the ten numbers and the allowable values (given in
231+
parentheses) are given below for the most common case, where the "family"
232+
digit is <tt>2, Text and Display</tt>. (If the first digit has a different
233+
value, the remaining nine digits have different meanings). For further
234+
details on Panose-1, see [[-PANOSE]].
227235

228236
<dl>
229237
<dt>Family
@@ -378,6 +386,16 @@ given here. For further details on Panose-1, see [[-PANOSE]].
378386
</ul>
379387
</dl>
380388

389+
<p><em>Panose-2</em> (see [[-PANOSE2]]) is a specification for a
390+
more comprehensive font classification and matching technology which
391+
is not limited to Latin typefaces. For example, the serif
392+
characteristics of a Latin face may be compared with the stroke
393+
terminations of a Kanji face.
394+
395+
<p><img src="./images/P2F24.gif" alt="Illustration of Panose-2"></p>
396+
397+
<p>The Panose-2 value is not stored inside any known font formats, but
398+
may be measured.
381399

382400
<h2><a name="truetype-unicode">Deducing Unicode Ranges for TrueType</a></h2>
383401

0 commit comments

Comments
 (0)