This is an experimental technology
Because this technology's specification has not stabilized, check the compatibility table for usage in various browsers. Also note that the syntax and behavior of an experimental technology is subject to change in future versions of browsers as the specification changes.
The CSS Font Loading API provides events and interfaces for dynamically loading font resources.
Interfaces
FontFace
- Represents a single usable font face.
FontFaceSet
- An interface loading font faces and checking their download statuses.
FontFaceSource
- An mixing providing all of the fonts used in font-related operations, unless defined otherwise. It defines the
FontFaceSources.fonts
property available toDocument
andWorkerGlobalScope
. FontFaceSetLoadEvent
- Fired whenever a
FontFaceSet
loads.
Specifications
Specification | Status | Comment |
---|---|---|
CSS Font Loading Module Level 3 | Working Draft | Initial definition. |