@@ -77,11 +77,9 @@ The <code>FontFace</code> Interface</h2>
7777
7878 The {{FontFace}} interface represents a single usable font face.
7979 CSS ''@font-face'' rules implicitly define FontFace objects,
80- or they can be constructed manually from a url or binary data .
80+ or they can be constructed manually from a url or a buffer source .
8181
8282 <xmp class="idl">
83- typedef (ArrayBuffer or ArrayBufferView) BinaryData;
84-
8583 dictionary FontFaceDescriptors {
8684 CSSOMString style = "normal";
8785 CSSOMString weight = "normal";
@@ -99,7 +97,7 @@ The <code>FontFace</code> Interface</h2>
9997
10098 [Exposed=(Window,Worker)]
10199 interface FontFace {
102- constructor(CSSOMString family, (CSSOMString or BinaryData ) source,
100+ constructor(CSSOMString family, (CSSOMString or BufferSource ) source,
103101 optional FontFaceDescriptors descriptors = {});
104102 attribute CSSOMString family;
105103 attribute CSSOMString style;
@@ -210,7 +208,7 @@ The Constructor</h3>
210208
211209 A {{FontFace}} can be constructed either
212210 from a URL pointing to a font face file,
213- or from an {{ArrayBuffer}} (or {{ArrayBufferView}} ) containing the binary representation of a font face.
211+ or from a {{BufferSource}} containing the binary representation of a font face.
214212
215213 When the <dfn constructor for=FontFace>FontFace(family, source, descriptors)</dfn> method is called,
216214 execute these steps:
@@ -255,7 +253,7 @@ The Constructor</h3>
255253 2. If the {{source!!argument}} argument was a {{CSSOMString}} ,
256254 set <var> font face's</var> internal {{[[Urls]]}} slot to the string.
257255
258- If the {{source}} argument was a {{BinaryData }} ,
256+ If the {{source}} argument was a {{BufferSource }} ,
259257 set <var> font face's</var> internal {{[[Data]]}} slot to the passed argument.
260258
261259 3. If <var> font face's</var> {{[[Data]]}} slot is not <code> null</code> ,
@@ -317,7 +315,7 @@ The <code>load()</code> method</h3>
317315
318316 The {{FontFace/load()}} method of {{FontFace}}
319317 forces a url-based font face to request its font data and load.
320- For fonts constructed from binary data ,
318+ For fonts constructed from a buffer source ,
321319 or fonts that are already loading or loaded,
322320 it does nothing.
323321
0 commit comments