# Font

The Liquid `font` object and its properties, with examples.

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.

```liquid
{{ settings.heading_font.baseline_ratio }}
```

```text
0.091
```

## font.fallback_families

Returns the suggested fallback font families.

```liquid
{{ settings.heading_font.fallback_families }}
```

```text
sans-serif
```

## font.family

Returns the name of the font family.

```liquid
{{ settings.heading_font.family }}
```

```text
"Neue Haas Unica"
```

## font.style

Returns the selected font style.

```liquid
{{ settings.heading_font.style }}
```

```text
normal
```

## font.system?

Returns whether the font is a system font. Use it to decide whether you need to embed the matching [font face](https://developer.versacommerce.de/articles/liquid-filters-font-filters#fontface) for the font.

## font.weight

Returns the selected font weight.

```liquid
{{ settings.heading_font.weight }}
```

```text
400
```

## font.variants

Returns all variants of the font family. Each variant is also a `font` object.

```liquid
{% for variant in settings.heading_font.variants %}
  {{ variant.family }}
{% endfor %}
```
