font

Font used for text symbols

Properties

Property Details
decoration The text decoration.
If property is present, must be one of the following values:
  • line-through
  • underline
  • none
family The font family.
size The font size in points.
style The text style.
If property is present, must be one of the following values:
  • italic
  • normal
  • oblique
weight The text weight.
If property is present, must be one of the following values:
  • bold
  • bolder
  • lighter
  • normal

Example

{
  "font": {
    "family": "Arial",
    "size": 12,
    "style": "normal",
    "weight": "bold",
    "decoration": "none"
  }
}

Feedback on this topic?