File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1376,15 +1376,15 @@ images/containing SVG font definitions. If the element reference is omitted,
13761376a reference to the first defined font is implied. Similarly, font
13771377container formats that can contain more than one font must load one
13781378and only one of the fonts for a given ''@font-face'' rule. Fragment
1379- identifiers are used to indicate which font to load. If a container
1380- format lacks a defined fragment identifier scheme, implementations
1381- should use a simple 1-based indexing scheme (e.g. "font-collection#1"
1382- for the first font, "font-collection#2" for the second font).
1379+ identifiers are used to indicate which font to load; these use the PostScript
1380+ name of the font as defined in [[!RFC8081]] . </p>
13831381
13841382<pre>
1385- src: url(fonts/simple.woff); /* load simple.woff relative to stylesheet location */
1386- src: url(/fonts/simple.woff); /* load simple.woff from absolute location */
1387- src: url(images/fonts.svg#simple); /* images/load SVG font with id 'simple' */
1383+ src: url(fonts/simple.woff); /* load simple.woff relative to stylesheet location */
1384+ src: url(/fonts/simple.woff); /* load simple.woff from absolute location */
1385+ src: url(fonts/coll.otc#foo); /* load font foo from collection coll.otc
1386+ src: url(fonts/coll.woff2#foo); /* load font foo from woff2 collection coll.woff2
1387+ src: url(fonts.svg#simple); /* load SVG font with id 'simple' */
13881388</pre>
13891389
13901390External references consist of a URL, followed by an optional hint
You can’t perform that action at this time.
0 commit comments