Skip to content

Commit 5c914a8

Browse files
author
litherum
committed
[css-fonts-4] Spec doesn't mention "woff2" anywhere
Adding format() specifiers for woff2 and woff2-variations.
1 parent efe3b55 commit 5c914a8

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

css-fonts-4/Overview.bs

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1369,6 +1369,11 @@ at least as dark as its predecessor. Only values greater than 0 and less than 10
13691369
<td><a href="https://www.microsoft.com/typography/otspec/default.htm">OpenType</a></td>
13701370
<td>.ttf, .otf</td>
13711371
</tr>
1372+
<tr>
1373+
<th>"woff2"</th>
1374+
<td><a href="https://www.w3.org/TR/WOFF2/">WOFF File Format 2.0 (Web Open Font Format)</a></td>
1375+
<td>.woff2</td>
1376+
</tr>
13721377
<tr>
13731378
<th>"embedded-opentype"</th>
13741379
<td><a href="https://www.w3.org/Submission/2008/SUBM-EOT-20080305/">Embedded OpenType</a></td>
@@ -1394,6 +1399,11 @@ at least as dark as its predecessor. Only values greater than 0 and less than 10
13941399
<td><a href="https://www.microsoft.com/typography/otspec/default.htm">OpenType with associated variations support</a></td>
13951400
<td>.ttf, .otf</td>
13961401
</tr>
1402+
<tr>
1403+
<th>"woff2-variations"</th>
1404+
<td><a href="https://www.w3.org/TR/WOFF2/">WOFF File Format 2.0 (Web Open Font Format) with associated variations support</a></td>
1405+
<td>.woff2</td>
1406+
</tr>
13971407
</tbody>
13981408
</table>
13991409

@@ -1403,8 +1413,8 @@ at least as dark as its predecessor. Only values greater than 0 and less than 10
14031413
Postscript CFF style glyph data or that it contains OpenType layout
14041414
information (see <a href="#platform-props-to-css">Appendix A</a> for more background on this).
14051415

1406-
A value of "woff-variations", "truetype-variations", or "opentype-variations" imply support
1407-
of the "woff", "truetype", or "opentype" formats respectively along with additional support for
1416+
A value of "woff-variations", "truetype-variations", "opentype-variations", or "woff2-variations" imply support
1417+
of the "woff", "truetype", "opentype", or "woff2" formats respectively along with additional support for
14081418
font variations. Web authors can specify this format to indicate that variation support is required
14091419
for correct rendering of a font. This mechanism can be used for gracefully falling back to an
14101420
ancillary font when variation support is not present.

0 commit comments

Comments
 (0)