Skip to content

Commit ee0259d

Browse files
committed
[css-fonts-4][css-fonts-5] Update incremental example to latest spec, fix broken link. Fix w3c#6063
1 parent ca9df4e commit ee0259d

File tree

2 files changed

+14
-23
lines changed

2 files changed

+14
-23
lines changed

css-fonts-4/Overview.bs

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2657,8 +2657,7 @@ To parse a <dfn><<font-src-list>></dfn> production, [=parse a list=] of <<font-s
26572657

26582658
<pre class="prod"><dfn id="font-tech-values">&lt;font-tech&gt;</dfn>
26592659
= [<<font-features-tech>> | <<color-font-tech>>
2660-
| variations | palettes |
2661-
incremental-patch | incremental-range | incremental-auto ]</pre>
2660+
| variations | palettes | incremental ]</pre>
26622661

26632662
<pre class="prod"><dfn id="font-features-tech-values">&lt;font-features-tech&gt;</dfn>
26642663
= [features-opentype | features-aat | features-graphite]</pre>
@@ -2719,18 +2718,16 @@ or font format.
27192718
a woff2 compressed version of the font
27202719
is supplied,
27212720
for optimal performance.
2722-
Then,
2723-
for incremental transfer using the
2724-
<a href="https://w3c.github.io/IFT/Overview.html#range-request-incxfer">range-request method</a>,
2725-
the raw uncompressed OpenType font is provided
2726-
so that the client
2727-
can perform byte range requests.
2721+
Then, for
2722+
<a href="https://w3c.github.io/IFT/Overview.html">incremental transfer</a>,
2723+
the raw uncompressed OpenType font is provided,
2724+
portions of which will be loaded on demand.
27282725

27292726
<pre>
27302727
@font-face {
27312728
font-family: "MyIncrementallyLoadedWebFont";
27322729
src: url("FallbackURLForBrowsersWhichDontSupportIncrementalLoading.woff2") format("woff2");
2733-
src: url("MyIncrementallyLoadedWebFont.otf") format(opentype) tech(incremental-range);
2730+
src: url("MyIncrementallyLoadedWebFont.otf") format(opentype) tech(incremental);
27342731
}
27352732
</pre>
27362733
</div>
@@ -8110,11 +8107,8 @@ The System Font is the font which is used by the ''system-ui'' <a href="#system-
81108107
<code><a href="https://docs.microsoft.com/en-us/typography/opentype/spec/cpal">CPAL</a></code> table.
81118108
The section on [[#color-font-support]] describes properties that interact with these facilities.
81128109

8113-
The 'incremental-patch', 'incremental-range' and 'incremental-auto' techs
8114-
refer to client support for incremental font transfer [[IFT]],
8115-
using the patch-subset, range-request, or
8116-
<a href="https://w3c.github.io/IFT/Overview.html#opt-in">automatic negotiation</a>
8117-
between these two methods.
8110+
The 'incremental' tech
8111+
refers to client support for incremental font transfer [[IFT]].
81188112

81198113
<p class="informative">For background on these, see [[PFE-report]].</p>
81208114

css-fonts-5/Overview.bs

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

380380
<pre class="prod"><dfn id="font-tech-values">&lt;font-tech&gt;</dfn>
381381
= [<<font-features-tech>> | <<color-font-tech>>
382-
| variations | palettes |
383-
incremental-patch | incremental-range | incremental-auto ]</pre>
382+
| variations | palettes | incremental ]</pre>
384383

385384
<pre class="prod"><dfn id="font-features-tech-values">&lt;font-features-tech&gt;</dfn>
386385
= [features-opentype | features-aat | features-graphite]</pre>
@@ -409,18 +408,16 @@ or font format.
409408
a woff2 compressed version of the font
410409
is supplied,
411410
for optimal performance.
412-
Then,
413-
for incremental transfer using the
414-
<a href="https://w3c.github.io/IFT/Overview.html#range-request-incxfer">range-request method</a>,
415-
the raw uncompressed OpenType font is provided
416-
so that the client
417-
can perform byte range requests.
411+
Then, for
412+
<a href="https://w3c.github.io/IFT/Overview.html">incremental transfer</a>,
413+
the raw uncompressed OpenType font is provided,
414+
portions of which will be loaded on demand.
418415

419416
<pre>
420417
@font-face {
421418
font-family: "MyIncrementallyLoadedWebFont";
422419
src: url("FallbackURLForBrowsersWhichDontSupportIncrementalLoading.woff2") format("woff2");
423-
src: url("MyIncrementallyLoadedWebFont.otf") format(opentype) tech(incremental-range);
420+
src: url("MyIncrementallyLoadedWebFont.otf") format(opentype) tech(incremental);
424421
}
425422
</pre>
426423
</div>

0 commit comments

Comments
 (0)