Skip to content

Commit 35cbc67

Browse files
committed
[css2] -added sentence that font-size-ajustements are based on computed value
-commented out remaining non-normative information about PS, TT, Panose -rephrased part 8 of the font-matching algorithm to allow inherited values to be used as well --HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%401395
1 parent 3525a90 commit 35cbc67

1 file changed

Lines changed: 38 additions & 3 deletions

File tree

css2/fonts.src

Lines changed: 38 additions & 3 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.30 1998-03-24 09:17:35 clilley Exp $ -->
3+
<!-- $Id: fonts.src,v 2.31 1998-03-24 10:56:16 howcome Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Fonts</TITLE>
@@ -560,6 +560,10 @@ available fonts is computed according to the following formula:
560560
<p>For example, if 14px Verdana (with a z value of 1.72) was unavailable and the generic sans-serif on a particular platform had a z value of 2.09, the size of the sans-serif would be 14 times (2.09/1.72) = 17px.
561561
</div>
562562

563+
<P>Font size adjustments are based on the <a
564+
href="cascade.html#computed-value">computed value</a> of <span
565+
class="propinst-font-size">'font-size'</span>.
566+
563567
<P>The first image below shows several typefaces as rasterized on a
564568
Macintosh at 12-point, together with their z values. No matter what
565569
the typographical family (or nominal base size, unit, or platform),
@@ -1691,6 +1695,8 @@ specified font data, the font face name must be a name which will be
16911695
in all legitimate copies of the font data. Otherwise, unnecessary Web
16921696
traffic may be generated due to missed matches for the local copy.
16931697

1698+
<!-- [start of non-normative block, HWL]
1699+
16941700
<p>For TrueType and OpenType fonts, this value may be obtained from
16951701
the <tt>full font name</tt> from the <tt>name</tt> table.
16961702

@@ -1713,8 +1719,13 @@ design dimension of the multiple master font. A completely specified
17131719
multiple master font is referred to as an instance of the multiple
17141720
master font.
17151721

1722+
[end non-normative block. HWL] -->
1723+
17161724
<!-- Space replacement not a strict rule -IJ -->
17171725
<!-- yes it is if we say so -CL -->
1726+
1727+
<!-- [start of non-normative block, HWL]
1728+
17181729
<p>The PostScript language name used for a Multiple Master Type 1 is
17191730
the name of the instance. If the name contains spaces between the axis values (such as
17201731
&quot;MinionMM 366 465 11&quot;), these spaces are replaced with
@@ -1723,6 +1734,8 @@ two dimensions specified have values of 200 and 300:</p>
17231734

17241735
<pre> TektonMM_200_300</pre>
17251736

1737+
[end non-normative block. HWL] -->
1738+
17261739
<h3><a name=emsq>Coordinate units on the em square</a></h3>
17271740

17281741
<p>Certain values, such as width metrics, are expressed in units that
@@ -1874,9 +1887,14 @@ determines the closest possible font match given a set of
18741887
typefaces. The system <em>could</em>, with modification, also be used
18751888
for Greek and Cyrillic, but is not suitable for <span class="index-inst" title="unicameral">unicameral</span> and
18761889
ideographic scripts (Hebrew, Armenian, Arabic,
1877-
Chinese/Japanese/Korean). Panose-1 technology was originally
1890+
Chinese/Japanese/Korean).
1891+
1892+
<!-- [start non-normative block, HWL]
1893+
1894+
Panose-1 technology was originally
18781895
developed by Elseware Corporation and is now owned by Hewlett Packard.
18791896

1897+
18801898
<p><img src="./images/panose-16.gif" alt="Illustration of Panose-1"></p>
18811899

18821900
<p>The Family, Serif Style and Proportion numbers are used by
@@ -1899,6 +1917,8 @@ terminations of a Kanji face.
18991917
<p>The Panose-2 value is not stored inside any known font formats, but
19001918
may be measured.
19011919

1920+
[end non-normative block, HWL] -->
1921+
19021922
<h3><a name="ucode">Range of ISO 10646 characters</a></h3>
19031923

19041924
<p>This indicates the glyph repertoire of the font, relative to ISO 10646 (Unicode).
@@ -2079,14 +2099,29 @@ had been followed exactly.</p>
20792099
in the correct range, it may be examined by the UA to see if it has
20802100
that particular one.
20812101

2082-
<LI>If there is no font within the family selected in 2, then use a
2102+
<!-- [changed after discussions with Opera and Bert, HWL]
2103+
2104+
<LI>If there is no font within the family selected in 2, then use a
20832105
UA-dependent default <span
20842106
class="descinst-font-family">'font-family'</span> and repeat
20852107
from step 2, using the best match that can be obtained within the
20862108
default font. If a particular character cannot be displayed using
20872109
the default font, the UA should indicate that a character is not
20882110
being displayed (for example, using the 'missing character' glyph).
20892111

2112+
[new text provided below, HWL] -->
2113+
2114+
<LI>If there is no font within the family selected in 2, then use
2115+
the inherited or UA-dependent <span
2116+
class="descinst-font-family">'font-family'</span> value and repeat
2117+
from step 2, using the best match that can be obtained within
2118+
this font. If a particular character cannot be displayed using
2119+
this font, the UA should indicate that a character is not
2120+
being displayed (for example, using the 'missing character' glyph).
2121+
2122+
<!-- [this text isn't perfect either, but it's importatnt to get it in
2123+
before going to PR, HWL] -->
2124+
20902125
<li>UAs that implement progressive rendering and have pending font
20912126
downloads may, once download is successful, use the downloaded font
20922127
as a font family. If the downloaded font is missing some glyphs that the temporary progressive font did contain, the

0 commit comments

Comments
 (0)