Interface TrFontFaceDescriptors

Descriptors defining a font face.

Used when selecting a font face from a font family.

Remarks

Based on the @font-face CSS rule. Not all descriptors are supported by all text renderers.

See

https://www.w3.org/TR/css-fonts-3/#font-face-rule

Hierarchy

  • TrFontFaceDescriptors

Properties

display?: FontDisplay
featureSettings?: string
stretch: "normal" | "condensed" | "expanded" | "extra-condensed" | "extra-expanded" | "semi-condensed" | "semi-expanded" | "ultra-condensed" | "ultra-expanded"
style: "normal" | "italic" | "oblique"
unicodeRange?: string
weight: number | "bold" | "normal"

Generated using TypeDoc