Variable & Dynamic Fonts

OpenType Variable Font (fvar/gvar)

OpenType Variable Fonts store interpolation deltas in fvar, gvar/CFF2, and avar tables so one font file renders every weight from Thin 100 to Black 900 seamlessly.

.woff2font/woff2Updated:
CompressionBrotli (entropy + table transform)
Outline / CurveQuadratic or Cubic SFNT
Browser supportAll Modern Browsers (97%+)
OpenType GSUB/GPOSYes

Strengths

  • Replaces 6–12 separate static weight files with a single HTTP request when multiple weights are needed
  • Enables fluid weight transitions and CSS font-variation-settings animations
  • Can be trimmed with HarfBuzz to keep only needed axis ranges (e.g. wght 400–700) or pinned to static

Trade-offs

  • Larger than a single static weight if your page only renders 400 Regular
  • Legacy software, older printers, and some game UI tools require pinned static TTF/OTF instances

Convert & optimize Variable Font locally

Related engineering guides

All 18 guides

Variable Font frequently asked questions

When should I pin a Variable Font to static instead of shipping it whole?

If your site only uses Regular (400) and Bold (700), pinning static instances or trimming the axis range with HarfBuzz often saves 40%–70% of bytes.

What OpenType tables power Variable Fonts?

Axis definitions live in fvar, coordinate mapping in avar, outline deltas in gvar (TrueType) or CFF2, and metric deltas in HVAR/MVAR.

Can variable fonts also be character-subsetted?

Yes. HarfBuzz subsetter preserves fvar/gvar deltas for retained glyphs while stripping unused Unicode codepoints and axis spans.

Authoritative References

Explore other font formats

All 12 formats →