Module style::font_face

source ·
Expand description

The @font-face at-rule.

Macros

Structs

The computed representation of the above, so that Gecko can read them easily.
The computed representation of the above so Gecko can read them easily.
A list of effective sources that we send over through IPC to the font cache.
A @font-face rule that is known to have font-family and src declarations.
Data inside a @font-face rule.
The font-stretch descriptor:
The font-weight descriptor:
A UrlSource represents a font-face source that has been specified with a url() function.

Enums

The computed representation of the above, with angles in degrees, so that Gecko can read them easily.
A font-display value for a @font-face rule. The font-display descriptor determines how a font face is displayed based on whether and when it is downloaded and ready to use.
The font-style descriptor:
A source for a font-face rule.

Functions

Parse the block inside a @font-face rule.
sort_range 🔒