Expand description
Specified values for font properties
Re-exportsยง
pub use crate::values::computed::font::FontLanguageOverride;
Macrosยง
- system_font_methods ๐
Structsยง
- Allows authors to choose a palette from those supported by a color font (and potentially @font-palette-values overrides).
- List of Variant Alternates
- Variants for east asian variant
- Variants of ligatures
- Variants of numeric values
- Additional information for keyword-derived font sizes.
- Specifies the minimum font size allowed due to changes in scriptlevel. Ref: https://wiki.mozilla.org/MathML:mstyle
- Specifies the multiplier to be used to adjust font size due to changes in scriptlevel.
- Flags of variant alternates in bit
- Internal property that reflects the lang attribute
Enumsยง
- An absolute font-weight value for a @font-face rule.
- Specifies a prioritized list of font family names or generic family names.
- A specified font-size value
- A factor for one of the font-size-adjust metrics, which may be either a number or the
from-font
keyword. - CSS font keywords
- A value for the
font-stretch
property. - A keyword value for
font-stretch
. - The specified value of the
font-style
property. - A value for any of the font-synthesis-{weight,style,small-caps} properties.
- A specified font-weight value.
- A value for the
math-depth
property. https://mathml-refresh.github.io/mathml-core/#the-math-script-level-property - A metrics override value for a @font-face descriptor
- void enum for system font, can never exist
- Set of variant alternates
- How to do font-size scaling.
Constantsยง
- The default line height.
- The default font size.
- From https://drafts.csswg.org/css-fonts-4/#valdef-font-style-oblique-angle:
- The minimum angle value that
font-style: oblique
should compute to. - This is the ratio applied for font-size: larger and smaller by both Firefox and Chrome
- The maximum font-weight value per:
- The minimum font-weight value per:
Functionsยง
Type Aliasesยง
- This property provides low-level control over OpenType or TrueType font features.
- Specified value for font-size-adjust, intended to help preserve the readability of text when font fallback occurs.
- This property provides low-level control over OpenType or TrueType font variations.
- A specified value for the
line-height
property. - The specified value of the
font-style
property, without the system font crap.