Module style::values::computed::font

source ·
Expand description

Computed values for font properties

Re-exports§

Macros§

Structs§

  • The name of a font family of choice.
  • Generic template for font property type classes that use a fixed-point internal representation with FRACTION_BITS for the fractional part.
  • Specifies a prioritized list of font family names or generic family names.
  • A list of font families.
  • font-language-override can only have a single 1-4 ASCII character OpenType “language system” tag, so we should be able to compute it and store it as a 32-bit integer (see http://www.microsoft.com/typography/otspec/languagetags.htm).
  • The computed value of font-size
  • A value for the font-stretch property per:
  • The computed value of font-style.
  • A value for the font-weight property per:

Enums§

  • Font family names must either be given quoted as strings, or unquoted as a sequence of one or more identifiers.
  • A generic font-family name.
  • A set of faces that vary in weight, width or slope. cbindgen:derive-mut-casts=true

Constants§

Functions§

Type Aliases§