FontraDocs
fontra.xyz

Your first variable font

Make a real, working variable font — two letters, a Weight axis, and a slider that morphs them from Regular to Black — and install it on your computer. No drawing skills needed.

~30 minutes Beginner macOS · Windows · Linux
What you'll end up with

A .ttf variable font with a working Weight axis and two named styles, installed and usable in any app on your computer.

Do it inside Fontra, step by step

The same tutorial exists as a lesson that runs inside the editor, with a bubble on each thing to click and a check when the step is done: the Fontra Tutorials plug-in. Add the address uplus-type/fontra-tutorials under Application settings › Plugins, reload, and open Your first font in the Tutorials panel. The page you are reading is its long version.

1. Install & create a font

download → New font → browser opens
  1. Download Fontra Pak
    Grab it from fontra.xyz and install it.
  2. Launch it and click New font
    Name it Hello, pick the .fontra format, choose where to save.
  3. Your browser opens
    This is Fontra — running in your browser, but everything stays on your computer. No internet needed, nothing uploaded.
Checkpoint

A browser tab named after your font, showing an empty glyph overview.

2. Create your first glyph

We’ll start with H — the friendliest letter in type design.

  1. Open the editor view, click in the Preview text panel (left column) and type H.
  2. The canvas shows a grey, empty placeholder. Double-click it and confirm Create: Fontra assigns the right Unicode for you. Double-click it again to edit it.
Any glyph, any name

In Preview text, a slash followed by a name stands for a glyph: /a.alt shows (and lets you create) a glyph named a.alt.

3. Draw H and o — no Bézier required

three rectangles → H · two ellipses, one reversed → o

The H — three rectangles

Pick the Shape tool (rectangle) and drag three rough rectangles. Then make them exact: take the Pointer tool, double-click a rectangle to select the whole contour, and type its values in the Transformation panel (Dimensions for the width and height, Move for the position):

Part x y width height
Left stem 60 0 110 700
Right stem 430 0 110 700
Crossbar 60 300 480 100

Select all (⌘A) and click Remove overlaps under Path Operations in the Transformation panel, so the three boxes fuse into one H. In Glyph info, set both sidebearings to 60: the advance width follows by itself, 600. No need to deselect first.

The o — two ellipses

Type o in Preview text, double-click its placeholder to create it, and again to edit it. Hold the Shape tool down to open its menu and pick the ellipse. Draw the outer oval (x 40, y −10, w 420, h 520 — the overshoot below the baseline is intentional), then the inner one (x 140, y 90, w 220, h 320) holding ⌘ while you drag: it is drawn the other way round, and a contour turning the other way is a counter. No path operation needed — that is how counters are drawn. Sidebearings 40 and 40: advance width 500.

Why the direction matters

A font's outlines are filled by their direction: the outer contour of the o turns one way, the counter the other. Drawn the same way round, the inner oval would be filled too.

Checkpoint

Typing HoHoHo in Preview text shows your two letters spelling like a font.

4. Add a Weight axis

Axes dialog: New axis

Open Font → Axes, click New axis… and pick the Weight preset, then check:

Name / UI NameWeight
OT tagwght
Min / Default / Max400 / 400 / 900

Under Axis values, add two labels: Regular = 400 and Black = 900. The export turns these into the font’s named instances automatically.

Why 400–900, not 100–900?

An axis range should only span where you have actual designs. You'll draw a Black today; you won't draw a Thin. Extend the range the day you do.

5. Draw the Black

virtual source → fatten stems
  1. Font → Sources, then New font source…: name Black, location Weight = 900.
  2. Back in the editor, with the o still open, the Black source shows in grey under Glyph sources in the Designspace panel — a virtual source. Double-click it to copy the Regular's contours there.
  3. Hold the Pointer tool down and pick Pointer Tool (scaling): select each point of the inner contour and shift it inwards — the handles follow along — so the o gets heavier.
  4. Open the H and do the same there: double-click Black, then drag the inner stem edges outward to fatten it.
verify One rule makes interpolation work

Every source must have the same contours, same order, same number of points. That's why we copied the Regular and pushed its points around. If sources diverge, Fontra shows a bug icon next to the source.

6. The magic

the slider gliding, letters breathing

Type HoHoHo and drag the Weight slider slowly from 400 to 900. Your letters glide through every weight in between. Stop anywhere: that weight exists now, and nobody drew it. What you see there is interpolated, so it is not editable — but the + under Glyph sources adds an editable source right at that location, the day you want to correct it. This is what variable-first means: you never configured interpolation, you never left it.

7. Export and install

Export as → TTF → installed
  1. File → Export as… → TrueType (.ttf) → save.
  2. Install it (double-click → Install Font).
  3. Open any app with a variable-font slider, or drop the file on wakamaifondue.com. Type HoHoHo. Try every weight.
Done: you made a variable font in half an hour.

Real, installable, with a working axis and two named styles.


Where to go next

Stuck?

The Fontra Discord is friendly to beginners — this tutorial was written imagining you there.

Improve this page on GitHub · This documentation is licensed under CC BY 4.0 · Built 2026-10-27