Tutorial: Draw a Glyph

Draw a letter, space it, see it in a word, and save it. About twenty minutes.

StatusTutorial
StabilitySteps are stable

Before You Start

You need Runebender installed and a font to work in. With a font open and saved, press Cmd+N for a new one. There is no dialog: Runebender writes Untitled.ufo in the same folder as the current font, with Google Fonts metrics and the Latin Core set as empty encoded glyphs.

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 glyphs field. 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.

  1. Click at the baseline, a little right of the left sidebearing.
  2. Click straight up at the cap height.
  3. Click right by about 80 units.
  4. Click back down to the baseline.
  5. 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 20 units up and to the right, and it is selected. Move it into place with the X and Y fields in the Coordinates section of the right panel, so it stays 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.

Cleanup
Path → Remove OverlapCmd+Shift+O. Merges the three rectangles into one outline.
Path → Correct Path DirectionCmd+Shift+R. Sets the direction the fill rule expects.
Path → Tidy Up PathsCmd+Shift+T. Drops any zero-length segments the overlap left.

5. Space It

The Glyph section of the right panel holds the Width, LSB and RSB fields. Open the section, then 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. Change LSB and RSB in the Glyph section until they do. Everything you change shows up in the line.

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 Curvature Comb. It is flat on straight segments. On curves, a kink invisible at text size shows as a break.

8. Save

Cmd+S. The middle of the footer changes from Not saved to Saved.

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.