Skip to main content

Module fonts

Module fonts 

Source
Expand description

Fonts loaded on demand when text uses their family or Unicode ranges.

Text uses system fonts unless an application registers Fonts or a FontStylesheet at its entry. Web builds bundle a startup font and load additional fonts from a CDN.

Structs§

Font
A font resource and the Unicode ranges that request it as a fallback.
FontStylesheet
An entry package supplying the fonts declared by a CSS stylesheet’s @font-face rules, such as a web font CDN. Each rule’s file is fetched when text uses a character in its unicode-range.
Fonts
An entry package supplying fonts on demand.