The font object

The font object is returned from font_picker type settings, and has the following attributes:


Returns the position of the baseline within the em box, which is measured from the bottom.


Returns the suggested fallback font families.

Returns the font's name.

Returns the selected font style.


Returns whether the font is a system font. You can use this attribute to identify whether you need to embed the corresponding font-face for the font or not.


Returns the selected font weight.


Returns all of the variants within the font's family. Each of the variants is also a font object.