Tutorial: Draw a Glyph
Draw a letter, space it, see it in a word, and save it. About twenty minutes.
| Status | Tutorial |
|---|---|
| Stability | Steps are stable |
Before You Start
You need Runebender installed and a font to work in. Press
Cmd+N for a new one: an untitled UFO with Google Fonts
metrics and the Latin Core set as empty encoded glyphs. Save it
somewhere you can find it.
Put the folder under version control first. It costs one command and makes every step below undoable.
git init && git add . && git commit -m 'Empty font' 1. Open a Glyph
Type H in the search box at the top left. Double-click the cell.
The editor opens on an empty glyph with its metrics drawn around it: the baseline, the x-height, the cap height, and two vertical lines for the sidebearings.
2. Draw the Left Stem
Take the pen tool.
- Click at the baseline, a little right of the left sidebearing.
- Click straight up at the cap height.
- Click right by about 80 units.
- Click back down to the baseline.
- Click the first point again to close the contour.
You have a rectangle. Switch to the select tool and drag its points until the width looks right at a glance. Numbers come later; the eye first.
3. Reuse It
Rather than draw the second stem, copy the first: select all four
points with Cmd+A, then Cmd+D to duplicate.
The copy lands on top of the original. Drag it right, holding shift to
keep it level.
Draw the crossbar the same way, a rectangle between the two stems, a little above the middle. The optical centre of a letter sits above the mathematical centre.
4. Clean Up
Three commands, in this order, before you go further.
| Path → Remove Overlap | Cmd+Shift+O. Merges the three rectangles into one outline. |
|---|---|
| Path → Correct Path Direction | Cmd+Shift+R. Sets the direction the fill rule expects. |
| Path → Tidy Up Paths | Cmd+Shift+T. Drops any zero-length segments the overlap left. |
5. Space It
The bottom bar holds the advance width and the two sidebearings. Set both sidebearings to the same number to start; something near 80 units for a capital H at 1000 UPM.
Spacing is judged in company, not alone.
6. See It in a Word
Take the text tool and type HHH. Then HOH if you have drawn an O,
or leave it as three Hs.
The rhythm should be even: the white inside the H and the white between two Hs want to look like the same amount of space. Drag the sidebearing edges until they do. Everything you change shows up in the line as you change it.
Space glyphs in company. A glyph on its own shows little.
7. Check the Curves
An H needs no curve checking, but find the control now. Open the Curves section in the right panel and turn on the comb. It is flat on straight segments. On curves, a kink invisible at text size shows as a break.
8. Save
Cmd+S. The header shows the time.
Now look at what changed:
git diff --stat One glyph file, and the metrics if you touched them. That is the argument for a source format made of small files.
Next
Draw an O, and you meet curves, overshoot, and extremes. Then an accented glyph, which you build rather than draw: see Components and Anchors and the recipes in Workflows.