Expand description
The @font-face
at-rule.
Macros§
Structs§
- Computed
Font Stretch Range - The computed representation of the above, so that Gecko can read them easily.
- Computed
Font Weight Range - The computed representation of the above so Gecko can read them easily.
- Font
Face - A @font-face rule that is known to have font-family and src declarations.
- Font
Face Rule Data - Data inside a
@font-face
rule. - Font
Face 🔒Rule Parser - Font
Face Source Tech Flags - Flags for the @font-face tech() function, indicating font technologies required by the resource.
- Font
Stretch Range - The font-stretch descriptor:
- Font
Weight Range - The font-weight descriptor:
- Source
List - A list of sources for the font-face src descriptor.
- UrlSource
- A
UrlSource
represents a font-face source that has been specified with aurl()
function.
Enums§
- Computed
Font Style Descriptor - The computed representation of the above, with angles in degrees, so that Gecko can read them easily.
- Font
Display - 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.
- Font
Face Source Format - Font
Face Source Format Keyword - Keywords for the font-face src descriptor’s format() function. (‘None’ and ‘Unknown’ are for internal use in gfx, not exposed to CSS.)
- Font
Style - The font-style descriptor:
- Source
- A source for a font-face rule.
Functions§
- parse_
font_ face_ block - Parse the block inside a
@font-face
rule. - sort_
range 🔒