@@ -1618,15 +1618,15 @@ <h3 id="src-desc">Font reference: the <a href="#descdef-src">src</a> descriptor<
1618
1618
a reference to the first defined font is implied. Similarly, font
1619
1619
container formats that can contain more than one font must load one
1620
1620
and only one of the fonts for a given < code > @font-face</ code > rule. Fragment
1621
- identifiers are used to indicate which font to load. If a container
1622
- format lacks a defined fragment identifier scheme, implementations
1623
- should use a simple 1-based indexing scheme (e.g. "font-collection#1"
1624
- for the first font, "font-collection#2" for the second font).</ p >
1621
+ identifiers are used to indicate which font to load; these use the PostScript
1622
+ name of the font as defined in [[!RFC8081]]. </ p >
1625
1623
1626
1624
< pre >
1627
- src: url(fonts/simple.woff); /* load simple.woff relative to stylesheet location */
1628
- src: url(/fonts/simple.woff); /* load simple.woff from absolute location */
1629
- src: url(fonts.svg#simple); /* load SVG font with id 'simple' */
1625
+ src: url(fonts/simple.woff); /* load simple.woff relative to stylesheet location */
1626
+ src: url(/fonts/simple.woff); /* load simple.woff from absolute location */
1627
+ src: url(fonts/coll.otc#foo); /* load font foo from collection coll.otc
1628
+ src: url(fonts/coll.woff2#foo); /* load font foo from woff2 collection coll.woff2
1629
+ src: url(fonts.svg#simple); /* load SVG font with id 'simple' */
1630
1630
</ pre >
1631
1631
1632
1632
< p > External references consist of a URL, followed by an optional hint
@@ -1660,9 +1660,14 @@ <h3 id="src-desc">Font reference: the <a href="#descdef-src">src</a> descriptor<
1660
1660
< tbody >
1661
1661
< tr >
1662
1662
< th > "woff"</ th >
1663
- < td > < a href ="https://www.w3.org/TR/WOFF/ "> WOFF (Web Open Font Format)</ a > </ td >
1663
+ < td > < a href ="https://www.w3.org/TR/WOFF/ "> WOFF 1.0 (Web Open Font Format)</ a > </ td >
1664
1664
< td > .woff</ td >
1665
1665
</ tr >
1666
+ < tr >
1667
+ < th > "woff2"</ th >
1668
+ < td > < a href ="https://www.w3.org/TR/WOFF2/ "> WOFF 2.0 (Web Open Font Format)</ a > </ td >
1669
+ < td > .woff2</ td >
1670
+ </ tr >
1666
1671
< tr >
1667
1672
< th > "truetype"</ th >
1668
1673
< td > < a href ="https://www.microsoft.com/typography/otspec/default.htm "> TrueType</ a > </ td >
@@ -2719,7 +2724,7 @@ <h2 id="font-rend-props">Font Feature Properties</h2>
2719
2724
stylistic font features.</ p >
2720
2725
2721
2726
< h3 id ="glyph-selection-positioning "> Glyph selection and positioning</ h3 >
2722
-
2727
+
2723
2728
< p > This section is non-normative</ p >
2724
2729
2725
2730
< p > Simple fonts used for displaying Latin text use a very basic
0 commit comments