Skip to main content

FontStyle

type FontStyle = "REGULAR" | "ITALIC"

The possible values are:

  • REGULAR: The font is not italic.
  • ITALIC: The font is italicized. This includes fonts marked as "oblique" in the font file as well.