Permalink
Browse files

Fix #2205 by referencing RFC8081 for collection fragment syntax

  • Loading branch information...
svgeesus committed Jan 25, 2018
1 parent e5dda86 commit d4e059749a1e84e5845398b853b841f7122ddccd
Showing with 14 additions and 9 deletions.
  1. +14 −9 css-fonts-3/Fonts.src.html
View
@@ -1618,15 +1618,15 @@ <h3 id="src-desc">Font reference: the <a href="#descdef-src">src</a> descriptor<
a reference to the first defined font is implied. Similarly, font
container formats that can contain more than one font must load one
and only one of the fonts for a given <code>@font-face</code> rule. Fragment
identifiers are used to indicate which font to load. If a container
format lacks a defined fragment identifier scheme, implementations
should use a simple 1-based indexing scheme (e.g. "font-collection#1"
for the first font, "font-collection#2" for the second font).</p>
identifiers are used to indicate which font to load; these use the PostScript
name of the font as defined in [[!RFC8081]]. </p>
<pre>
src: url(fonts/simple.woff); /* load simple.woff relative to stylesheet location */
src: url(/fonts/simple.woff); /* load simple.woff from absolute location */
src: url(fonts.svg#simple); /* load SVG font with id 'simple' */
src: url(fonts/simple.woff); /* load simple.woff relative to stylesheet location */
src: url(/fonts/simple.woff); /* load simple.woff from absolute location */
src: url(fonts/coll.otc#foo); /* load font foo from collection coll.otc
src: url(fonts/coll.woff2#foo); /* load font foo from woff2 collection coll.woff2
src: url(fonts.svg#simple); /* load SVG font with id 'simple' */
</pre>
<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<
<tbody>
<tr>
<th>"woff"</th>
<td><a href="https://www.w3.org/TR/WOFF/">WOFF (Web Open Font Format)</a></td>
<td><a href="https://www.w3.org/TR/WOFF/">WOFF 1.0 (Web Open Font Format)</a></td>
<td>.woff</td>
</tr>
<tr>
<th>"woff2"</th>
<td><a href="https://www.w3.org/TR/WOFF2/">WOFF 2.0 (Web Open Font Format)</a></td>
<td>.woff2</td>
</tr>
<tr>
<th>"truetype"</th>
<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>
stylistic font features.</p>
<h3 id="glyph-selection-positioning">Glyph selection and positioning</h3>
<p>This section is non-normative</p>
<p>Simple fonts used for displaying Latin text use a very basic

0 comments on commit d4e0597

Please sign in to comment.