Spacing and Kerning
Set widths and sidebearings, derive them with metric keys, and kern pairs and groups.
| Status | Implemented |
|---|---|
| Stability | Stable |
Widths and Sidebearings
The Glyph section of the inspector holds the Width, LSB and RSB of the current glyph. Type a value and the outline or the sidebearing moves. The metrics card at the bottom of the canvas shows the same three numbers, and you can type into it too.
You can also drag. With the select tool, the sidebearing edges are draggable directly, which changes spacing without touching the outline.
Metric Keys
A metric key derives a sidebearing from another glyph, so a change to one glyph carries to every glyph that refers to it. The editor has no field to type a key. It reads the keys that are already in the glyph lib, for example from a source that came from Glyphs.
=n | The same sidebearing as glyph n. |
|---|---|
=|o | The opposite sidebearing of glyph o. Use it for a mirrored pair. |
=n+10 | The same, plus ten units. |
=n*1.1 | The same, scaled. |
=50 | A constant. |
Glyph → Update Metrics applies every key in every master. Keys can
chain: if n has a key of its own, the passes repeat until nothing
moves, up to five passes.
Metric keys are stored in the lib keys glyphsLib round-trips, so a source that came from Glyphs keeps its formulas and a source that leaves Runebender takes them along.
Kerning Groups
A group lets one value cover many pairs. Set the left and right group of a glyph in the Glyph section of the right panel. Clearing a field removes the membership.
The Groups section in the grid view shows every group as a shelf with
its members as chips. Click a chip to remove that member. Select
glyphs in the grid, then press + sel to add the whole selection to a
group at once. The field creates a new
group from the selection: o makes a first-side group, |o a
second-side one.
Groups are written to groups.plist for every master, using the
standard public.kern prefixes.
The Kerning Table
The Kerning section in the grid view lists the pairs on the active master. Filter them with the Filter pairs field. To set a pair, type the First and Second names and the Value, then press Enter. Each listed pair has a button that deletes it.
Use the text tool to see the result in real words. See Text and Shaping.
Checking Your Work
The Dimensions section in the grid view measures stems and bars from the reference glyphs in each master. It shows whether the weights match across a designspace, rather than the numbers you meant to draw.
The Compare section lists differing advance widths between masters, along with structural incompatibilities and kerning pair counts.