FontFaceSet
The FontFaceSet interface of the CSS Font Loading API manages the loading of font-faces and querying of their download status.
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The ready read-only property of the FontFaceSet interface returns a Promise that resolves to the given FontFaceSet.
Link copied to clipboard
The status read-only property of the FontFaceSet interface returns the loading state of the fonts in the set.
Functions
Link copied to clipboard
The check() method of the FontFaceSet returns true if you can render some text using the given font specification without attempting to use any fonts in this FontFaceSet that are not yet fully loaded. This means you can use the font specification without causing a font swap.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The load() method of the FontFaceSet forces all the fonts given in parameters to be loaded.
Link copied to clipboard
Link copied to clipboard