CSS Font Loading API

The CSS Font Loading API provides events and interfaces for dynamically loading font resources.

Note: This feature is available in Web Workers (self.fonts provides access to FontFaceSet).

Interfaces

FontFace

Represents a single usable font face.

FontFaceSet

An interface loading font faces and checking their download statuses.

FontFaceSetLoadEvent

Fired whenever a FontFaceSet loads.

Specifications

Specification
CSS Font Loading Module Level 3
# fontface-interface

Browser compatibility

FontFace

BCD tables only load in the browser