The font object is returned by font_picker type settings and has the following attributes:
font.baseline_ratio
Returns the position of the baseline within the em box, measured from the bottom.
{{ settings.heading_font.baseline_ratio }}
0.091
font.fallback_families
Returns the suggested fallback font families.
{{ settings.heading_font.fallback_families }}
sans-serif
font.family
Returns the name of the font family.
{{ settings.heading_font.family }}
"Neue Haas Unica"
font.style
Returns the selected font style.
{{ settings.heading_font.style }}
normal
font.system?
Returns whether the font is a system font. Use it to decide whether you need to embed the matching font face for the font.
font.weight
Returns the selected font weight.
{{ settings.heading_font.weight }}
400
font.variants
Returns all variants of the font family. Each variant is also a font object.
{% for variant in settings.heading_font.variants %}
{{ variant.family }}
{% endfor %}