Convert Variable Font to Static Weights
No 5 MB capPin continuous Variable Font axes (wght, wdth, slnt) to exact static weights using HarfBuzz WASM — dropping fvar/gvar overhead for 80%+ smaller single-weight files and full legacy app compatibility.
.ttf · .otf · .woff2
- HarfBuzz axis instancer
- Drops fvar/gvar bloat
- Legacy app compatible
Benchmark & Expected Output
320 KB → 52 KB (-83.8%)Before (Input)
Variable TTF · inter-variable.ttf (320 KB)
After (Output)
Static WOFF2 · inter-variable-wght400.woff2 with fvar/gvar tables removed
| Property | Source: Variable Font | Target: WOFF2 |
|---|---|---|
| File extension | .woff2 | .woff2 |
| Compression | Brotli (entropy + table transform) | Brotli (entropy + table transform) |
| Outline / Curve | Quadratic or Cubic SFNT | Quadratic or Cubic SFNT |
| Browser support | All Modern Browsers (97%+) | All Modern Browsers (97%+) |
| OpenType GSUB/GPOS | Yes | Yes |
| Best for | Responsive typography across continuous weight (wght), width (wdth), slant (slnt), and optical size (opsz) axes from a single file. | Production web typography across all modern browsers, delivering 40%–60% smaller payloads than TTF/OTF and ~30% smaller files than WOFF 1.0. |
How it works
How to use Variable Font to Static locally in your browser
Pin Variable Font axes (wght, wdth) with HarfBuzz WASM into ultra-lightweight static WOFF2/TTF/OTF instances.
Drop variable font
Load any Variable Font; FontTo detects all fvar axes and named instances automatically.
Set axis coordinates
Drag sliders (e.g., Weight 400, 500, 700; Width 100) and inspect the live specimen.
Export static instance
Download a clean static WOFF2, TTF, or OTF with variation tables removed.
FAQ
Frequently asked questions
Why convert a Variable Font to a static instance?
If you only use one or two weights, static instancing removes gvar/fvar tables, shrinking a 320 KB variable font down to ~52 KB and fixing older apps that only load Regular.
Does HarfBuzz recalculate glyph metrics accurately?
Yes. HarfBuzz instantiates outline deltas, HVAR advance widths, and MVAR metrics into standard static SFNT tables.
Can I also export a desktop TTF for Office or video editing?
Yes — switch Output Format to TTF or OTF before exporting.
Format specs
Next step