Variable fonts

A variable font has a continuous range of styles, not a fixed set. For example, one file can have every weight from Light to Bold. Many variable fonts also have more axes.

What is an axis?

An axis is one dimension of change in the font. Each axis has a four-letter tag. There are five standard axes:

TagNameTypical range
wghtWeight100–900
wdthWidth75–125
slntSlant−15 to 0
italItalic0 to 1
opszOptical sizeDifferent for each font

Fonts can also have custom axes, with any tag that the designer chooses. Examples are a grade axis, a serif-length axis, or an axis that adds flourishes. You can use them like the standard axes. They have no agreed meaning.

How do I use them?

When you select a variable font, the axis sliders show. The wght slider replaces the weight control. The other axes show below the font controls. The text changes as you move a slider. The plugin writes the values as font-variation-settings on the text.

In the Quick Feature Toggles and in the inline panel, the sliders change the selected text only. In the sidebar, they change the whole block.

The range is continuous, so a weight of 437 is as correct as 400. This helps when you match a headline to a logo.

Where are the axes defined?

Go to Settings → Typography Stylist → Custom Fonts and open the font’s card. Select Variable Font. The axis rows show. For uploaded kits, the plugin reads the axes from the font files when you upload them. To read them again, click Detect Axes from Font File. This replaces all axis rows, but it saves nothing. Check the rows, and then save. To add an axis by hand, click + Add Axis.

Adobe fonts and custom font definitions have no font files on the server. You enter their axes by hand, or the browser reads them.

Why is there a dropdown instead of a slider?

The Hide weight selection setting decides which control shows. When it is on, the editor shows a wght slider in place of the weight menu. When it is off, the editor shows the weight menu, even if the font has a wght axis. If you see a menu for a variable font, open the font’s card on the Custom Fonts tab and select Hide weight selection.

Does the whole range download?

Yes. A variable font is one file for the full range. You download it one time and can use any value on each axis. One variable file is often smaller than three or four static files.

Do variable axes work with OpenType features?

Yes. Axes change the shape of the outlines. Features replace glyphs. You can use both together.