Skip to content

Commit ed76bf7

Browse files
authored
Merge pull request w3c#6573 from Kaleidea/patch-2
[css-fonts-4] src-explainer.md: Fix typos
2 parents 8abc44b + 39bf28b commit ed76bf7

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

css-fonts-4/src-explainer.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -95,16 +95,16 @@ in the src descriptor:
9595
url(example.woff) format("woff");
9696
}
9797

98-
Useage of WebFonts has taken off,
98+
Usage of WebFonts has taken off,
9999
from near-zero in 2011
100-
to 80% of all web sites in 2020.
100+
to 80% of all websites in 2020.
101101

102102
![Growth in Web Font usage](https://www.w3.org/TR/2020/NOTE-PFE-evaluation-20201015/images/2020-07-22_Web_Font_Usage.png)
103103

104104
This success has enabled the use of fonts on the web
105105
to be further refined and improved,
106106
but also poses a significant long-tail Web-compatibility issue
107-
if an changes are made to this src descriptor.
107+
if any changes are made to this src descriptor.
108108

109109
_Further historical background may be found in the
110110
introductory sections of the
@@ -117,7 +117,7 @@ These were soon improved by adding vector outlines of the glyphs,
117117
although sadly with multiple, competing, non-interoperable technologies.
118118
PostScript™ Type 1 outlines, from Adobe,
119119
were soon joined by TrueType™ outlines, from Apple
120-
(to say nothing of less sucessful vector outlines such as Speedo or Intellifont).
120+
(to say nothing of less successful vector outlines such as Speedo or Intellifont).
121121

122122
The typographic and layout capabilities of fonts were also improved,
123123
with TrueType GX and AApple Advanced Typography from Apple,
@@ -138,7 +138,7 @@ in ensuring a downloaded font has the desired features:
138138
Font formats continued to evolve;
139139
OpenType 1.7 added
140140
[color font support](https://docs.microsoft.com/en-us/typography/opentype/otspec170/)
141-
although sadly, as implementation largely preceeded standardization,
141+
although sadly, as implementation largely preceded standardization,
142142
there were four different ways
143143
each largely tied to a single vendor, OS, or browser.
144144
OpenType 1.8, with rather more coordination, added
@@ -150,18 +150,18 @@ in 2017
150150
continued to refine font features
151151
and added support for [variable fonts](https://www.w3.org/TR/css-fonts-4/#font-variation-props)
152152
and [color fonts](https://www.w3.org/TR/css-fonts-4/#color-font-support).
153-
It was becoming clear however,
153+
It was becoming clear, however,
154154
that the format hint was insufficient by itself
155155
and that combinatorial explosion would result
156156
(formats such as "opentype-variation" were briefly specified,
157157
but "opentype-variation-SVG-Graphite" would become
158-
unweildy and error-prone).
158+
unwieldy and error-prone).
159159

160160
With the upcoming [COLRv1 color font format](https://github.com/googlefonts/colr-gradients-spec/),
161161
selection of the right font resource and detectability are once again
162162
important use cases which have been requested by early adopters of COLRv1,
163163
similar to the need to detect availability and prefer such font resources at the time
164-
when variable fonts where introduced.
164+
when variable fonts were introduced.
165165

166166
## Use cases
167167

@@ -190,7 +190,7 @@ Where 3. is in line in line with the TAG design principles, which recommend
190190

191191
## Non-Goals
192192

193-
This proposal is not-intended as a server-side content negotiation solution. In
193+
This proposal is not intended as a server-side content negotiation solution. In
194194
many cases, third-party font providers currently choose based on User Agent
195195
which resources they deliver to clients at the time of the request to the
196196
included CSS. This is a different content negotiation mechanism from what is
@@ -201,8 +201,8 @@ discussed in this proposal.
201201
### Backwards compatibility
202202

203203
The largest constraint is that older browsers must continue
204-
to sucessfully parse the src descriptor,
205-
and to end up ignoring links to fonts containg unsupported features,
204+
to successfully parse the src descriptor,
205+
and to end up ignoring links to fonts containing unsupported features,
206206
while following the desired link to the fallback.
207207

208208
This was discussed in 2016, in Issue 663 [@font-family src: should accept a specifier which lists font requirements](https://github.com/w3c/csswg-drafts/issues/633)
@@ -218,7 +218,7 @@ There were various proposals, such as an additional "features" function using Op
218218
url(how-old-is-your-browser-font.ttf) format("ttf");
219219
}
220220

221-
but that was unacceptable because of backwards compatibiity
221+
but that was unacceptable because of backwards compatibility
222222
(older browsers would drop the _entire_ src descriptor,
223223
not just the first element in the comma-separated list),
224224
and also a desire to avoid microsyntaxes which:
@@ -241,14 +241,14 @@ An alternative solution to putting supports inside format is proposed in Issue 6
241241

242242
### Detectability
243243

244-
Detetecting font capabilities of the UA programmatically proves difficult due to
244+
Detecting font capabilities of the UA programmatically proves difficult due to
245245
no direct mapping of font technologies to `CSS.supports()`.
246246

247247
Testing of font capabilities is possible through probing for rendered pixels on
248248
a 2D canvas and testing for RGB color values, as done in @RoelN's
249249
[Chromacheck](https://pixelambacht.nl/chromacheck/) tool. However, this is an
250250
extremely wasteful approach, requiring canvas resources for something that can
251-
be returned by the UA and detected more efficienlty.
251+
be returned by the UA and detected more efficiently.
252252

253253
## Proposed Syntax
254254

0 commit comments

Comments
 (0)