Skip to content

Commit a951f1f

Browse files
committed
[css-fonts-4][css-fonts-5] Update to current incremental keywords, fix #7665
1 parent 1b994ae commit a951f1f

File tree

2 files changed

+16
-10
lines changed

2 files changed

+16
-10
lines changed

css-fonts-4/Overview.bs

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2338,7 +2338,8 @@ Then each component value is parsed according to this grammar:
23382338

23392339
<pre class="prod"><dfn id="font-tech-values">&lt;font-tech&gt;</dfn>
23402340
= [<<font-features-tech>> | <<color-font-tech>>
2341-
| variations | palettes | incremental ]</pre>
2341+
| variations | palettes |
2342+
incremental-patch | incremental-range | incremental-auto ]</pre>
23422343

23432344
<pre class="prod"><dfn id="font-features-tech-values">&lt;font-features-tech&gt;</dfn>
23442345
= [features-opentype | features-aat | features-graphite]</pre>
@@ -2401,7 +2402,7 @@ or font format.
24012402
for optimal performance.
24022403
Then,
24032404
for incremental transfer using the
2404-
<a href="https://www.w3.org/TR/2020/NOTE-PFE-evaluation-20201015/#range-request">range-request method</a>,
2405+
<a href="https://w3c.github.io/IFT/Overview.html#range-request-incxfer">range-request method</a>,
24052406
the raw uncompressed OpenType font is provided
24062407
so that the client
24072408
can perform byte range requests.
@@ -2410,7 +2411,7 @@ or font format.
24102411
@font-face {
24112412
font-family: "MyIncrementallyLoadedWebFont";
24122413
src: url("FallbackURLForBrowsersWhichDontSupportIncrementalLoading.woff2") format("woff2");
2413-
src: url("MyIncrementallyLoadedWebFont.otf") format(opentype) tech(incremental);
2414+
src: url("MyIncrementallyLoadedWebFont.otf") format(opentype) tech(incremental-range);
24142415
}
24152416
</pre>
24162417
</div>
@@ -7577,9 +7578,13 @@ The System Font is the font which is used by the ''system-ui'' <a href="#system-
75777578
<code><a href="https://docs.microsoft.com/en-us/typography/opentype/spec/cpal">CPAL</a></code> table.
75787579
The section on [[#color-font-support]] describes properties that interact with these facilities.
75797580

7580-
The 'incremental' tech refers to client support for
7581-
incremental font loading,
7582-
using either the range-request or the patch-subset method [[PFE-report]].
7581+
The 'incremental-patch', 'incremental-range' and 'incremental-auto' techs
7582+
refer to client support for incremental font transfer [[IFT]],
7583+
using the patch-subset, range-request, or
7584+
<a href="https://w3c.github.io/IFT/Overview.html#opt-in">automatic negotiation</a>
7585+
between these two methods.
7586+
7587+
<p class="informative">For background on these, see [[PFE-report]].</p>
75837588

75847589
Web authors can specify the 'tech' function
75857590
inside an ''@font-face'' 'src!!descriptor' descriptor

css-fonts-5/Overview.bs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -364,8 +364,9 @@ Then each component value is parsed according to this grammar:
364364
| svg | truetype | woff | woff2 ]</pre>
365365

366366
<pre class="prod"><dfn id="font-tech-values">&lt;font-tech&gt;</dfn>
367-
= [<<font-features-tech>> | <<color-font-tech>>
368-
| variations | palettes | incremental ]</pre>
367+
= [<<font-features-tech>> | <<color-font-tech>>
368+
| variations | palettes |
369+
incremental-patch | incremental-range | incremental-auto ]</pre>
369370

370371
<pre class="prod"><dfn id="font-features-tech-values">&lt;font-features-tech&gt;</dfn>
371372
= [features-opentype | features-aat | features-graphite]</pre>
@@ -396,7 +397,7 @@ or font format.
396397
for optimal performance.
397398
Then,
398399
for incremental transfer using the
399-
<a href="https://www.w3.org/TR/2020/NOTE-PFE-evaluation-20201015/#range-request">range-request method</a>,
400+
<a href="https://w3c.github.io/IFT/Overview.html#range-request-incxfer">range-request method</a>,
400401
the raw uncompressed OpenType font is provided
401402
so that the client
402403
can perform byte range requests.
@@ -405,7 +406,7 @@ or font format.
405406
@font-face {
406407
font-family: "MyIncrementallyLoadedWebFont";
407408
src: url("FallbackURLForBrowsersWhichDontSupportIncrementalLoading.woff2") format("woff2");
408-
src: url("MyIncrementallyLoadedWebFont.otf") format(opentype) tech(incremental);
409+
src: url("MyIncrementallyLoadedWebFont.otf") format(opentype) tech(incremental-range);
409410
}
410411
</pre>
411412
</div>

0 commit comments

Comments
 (0)