Skip to content

Commit

Permalink
Eradicate typo (mdn#33041)
Browse files Browse the repository at this point in the history
an URL => a URL
  • Loading branch information
npup committed Apr 11, 2024
1 parent e831294 commit f0e711d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/en-us/web/api/css_font_loading_api/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ The status is set to `loaded` when the font face data has been successfully fetc
Font faces are created using the [`FontFace` constructor](/en-US/docs/Web/API/FontFace/FontFace), which takes as parameters: the font family, the font source, and optional descriptors.
The format and grammar of these arguments is the same as the equivalent [`@font-face`](/en-US/docs/Web/CSS/@font-face) definition.

The font source can either be binary data in an [`ArrayBuffer`](/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer) or a font resource at an URL.
The font source can either be binary data in an [`ArrayBuffer`](/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer) or a font resource at a URL.
A typical font face definition using a URL source might be as shown below.
Note that the `url()` function is required for URL font sources.

Expand Down

0 comments on commit f0e711d

Please sign in to comment.