Course contentsShow
← Web Development
Lesson 574 of 2,98210. Typography and Design SystemsFree lesson

Font Variation Axes

Learning about standard axes (weight, width, slant, optical size) and custom axes in variable fonts.

Font Variation Axes

You'll learn the control points that make variable fonts flexible across weight, width, and more.

In the previous lesson, you discovered that variable fonts store multiple styles in one file. But how do you actually control those styles? That's where font variation axes come in—they're the dials you turn to adjust different aspects of a typeface.

Standard (Registered) Axes

The OpenType specification defines five standard axes that work consistently across fonts:

  • wght (weight): Controls how thin or bold the font appears (e.g., 100–900)
  • wdth (width): Adjusts how condensed or expanded the letters are (usually a percentage)
  • slnt (slant): Tilts characters at an angle, measured in degrees (e.g., -10 to 0)
  • ital (italic): Switches to true italic letterforms (typically 0 or 1)
  • opsz (optical size): Optimizes character details for specific sizes (e.g., 8pt vs 72pt)

Think of these like the standard controls on every car—steering, gas, brakes. They work the same way regardless of which font "model" you're driving.

Custom Axes

Font designers can also create custom axes for unique properties specific to their typeface. These use uppercase four-letter codes (vs. lowercase for standard axes):

  • GRAD: Adjusts stroke weight without changing overall width
  • CASL: Varies between casual and formal styles
  • CRSV: Controls cursive letterforms

These are like specialty features—maybe your font has a "roundness" dial or a "playfulness" slider that others don't.

Why This Matters

Axes give you fine-grained typographic control without loading separate font files. One variable font with multiple axes can replace dozens of traditional font files.

Key Takeaway: Font variation axes are the adjustable parameters in variable fonts—standard axes (wght, wdth, slnt, ital, opsz) work universally, while custom axes provide typeface-specific controls.