You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: css-fonts-4/src-explainer.md
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -95,16 +95,16 @@ in the src descriptor:
95
95
url(example.woff) format("woff");
96
96
}
97
97
98
-
Useage of WebFonts has taken off,
98
+
Usage of WebFonts has taken off,
99
99
from near-zero in 2011
100
-
to 80% of all web sites in 2020.
100
+
to 80% of all websites in 2020.
101
101
102
102

103
103
104
104
This success has enabled the use of fonts on the web
105
105
to be further refined and improved,
106
106
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.
108
108
109
109
_Further historical background may be found in the
110
110
introductory sections of the
@@ -117,7 +117,7 @@ These were soon improved by adding vector outlines of the glyphs,
117
117
although sadly with multiple, competing, non-interoperable technologies.
118
118
PostScript™ Type 1 outlines, from Adobe,
119
119
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).
121
121
122
122
The typographic and layout capabilities of fonts were also improved,
123
123
with TrueType GX and AApple Advanced Typography from Apple,
@@ -138,7 +138,7 @@ in ensuring a downloaded font has the desired features:
138
138
Font formats continued to evolve;
139
139
OpenType 1.7 added
140
140
[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,
142
142
there were four different ways
143
143
each largely tied to a single vendor, OS, or browser.
144
144
OpenType 1.8, with rather more coordination, added
@@ -150,18 +150,18 @@ in 2017
150
150
continued to refine font features
151
151
and added support for [variable fonts](https://www.w3.org/TR/css-fonts-4/#font-variation-props)
152
152
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,
154
154
that the format hint was insufficient by itself
155
155
and that combinatorial explosion would result
156
156
(formats such as "opentype-variation" were briefly specified,
157
157
but "opentype-variation-SVG-Graphite" would become
158
-
unweildy and error-prone).
158
+
unwieldy and error-prone).
159
159
160
160
With the upcoming [COLRv1 color font format](https://github.com/googlefonts/colr-gradients-spec/),
161
161
selection of the right font resource and detectability are once again
162
162
important use cases which have been requested by early adopters of COLRv1,
163
163
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.
165
165
166
166
## Use cases
167
167
@@ -190,7 +190,7 @@ Where 3. is in line in line with the TAG design principles, which recommend
190
190
191
191
## Non-Goals
192
192
193
-
This proposal is not-intended as a server-side content negotiation solution. In
193
+
This proposal is notintended as a server-side content negotiation solution. In
194
194
many cases, third-party font providers currently choose based on User Agent
195
195
which resources they deliver to clients at the time of the request to the
196
196
included CSS. This is a different content negotiation mechanism from what is
@@ -201,8 +201,8 @@ discussed in this proposal.
201
201
### Backwards compatibility
202
202
203
203
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,
206
206
while following the desired link to the fallback.
207
207
208
208
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
0 commit comments