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
[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
@@ -560,6 +560,10 @@ available fonts is computed according to the following formula:
560
560
<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.
561
561
</div>
562
562
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
+
563
567
<P>The first image below shows several typefaces as rasterized on a
564
568
Macintosh at 12-point, together with their z values. No matter what
565
569
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
1691
1695
in all legitimate copies of the font data. Otherwise, unnecessary Web
1692
1696
traffic may be generated due to missed matches for the local copy.
1693
1697
1698
+
<!-- [start of non-normative block, HWL]
1699
+
1694
1700
<p>For TrueType and OpenType fonts, this value may be obtained from
1695
1701
the <tt>full font name</tt> from the <tt>name</tt> table.
1696
1702
@@ -1713,8 +1719,13 @@ design dimension of the multiple master font. A completely specified
1713
1719
multiple master font is referred to as an instance of the multiple
1714
1720
master font.
1715
1721
1722
+
[end non-normative block. HWL] -->
1723
+
1716
1724
<!-- Space replacement not a strict rule -IJ -->
1717
1725
<!-- yes it is if we say so -CL -->
1726
+
1727
+
<!-- [start of non-normative block, HWL]
1728
+
1718
1729
<p>The PostScript language name used for a Multiple Master Type 1 is
1719
1730
the name of the instance. If the name contains spaces between the axis values (such as
1720
1731
"MinionMM 366 465 11"), these spaces are replaced with
@@ -1723,6 +1734,8 @@ two dimensions specified have values of 200 and 300:</p>
1723
1734
1724
1735
<pre> TektonMM_200_300</pre>
1725
1736
1737
+
[end non-normative block. HWL] -->
1738
+
1726
1739
<h3><a name=emsq>Coordinate units on the em square</a></h3>
1727
1740
1728
1741
<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
1874
1887
typefaces. The system <em>could</em>, with modification, also be used
1875
1888
for Greek and Cyrillic, but is not suitable for <span class="index-inst" title="unicameral">unicameral</span> and
1876
1889
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
1878
1895
developed by Elseware Corporation and is now owned by Hewlett Packard.
1879
1896
1897
+
1880
1898
<p><img src="./images/panose-16.gif" alt="Illustration of Panose-1"></p>
1881
1899
1882
1900
<p>The Family, Serif Style and Proportion numbers are used by
@@ -1899,6 +1917,8 @@ terminations of a Kanji face.
1899
1917
<p>The Panose-2 value is not stored inside any known font formats, but
1900
1918
may be measured.
1901
1919
1920
+
[end non-normative block, HWL] -->
1921
+
1902
1922
<h3><a name="ucode">Range of ISO 10646 characters</a></h3>
1903
1923
1904
1924
<p>This indicates the glyph repertoire of the font, relative to ISO 10646 (Unicode).
@@ -2079,14 +2099,29 @@ had been followed exactly.</p>
2079
2099
in the correct range, it may be examined by the UA to see if it has
2080
2100
that particular one.
2081
2101
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
2083
2105
UA-dependent default <span
2084
2106
class="descinst-font-family">'font-family'</span> and repeat
2085
2107
from step 2, using the best match that can be obtained within the
2086
2108
default font. If a particular character cannot be displayed using
2087
2109
the default font, the UA should indicate that a character is not
2088
2110
being displayed (for example, using the 'missing character' glyph).
2089
2111
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
+
2090
2125
<li>UAs that implement progressive rendering and have pending font
2091
2126
downloads may, once download is successful, use the downloaded font
2092
2127
as a font family. If the downloaded font is missing some glyphs that the temporary progressive font did contain, the
0 commit comments