Sub topic 1
How Letters Are Spaced by Default: Advance Widths and Sidebearings
Prerequisites
Assume you know basic typography terms such as typeface, font, glyph, baseline, and point size. You should also be familiar with a design tool or basic CSS.
Advance Widths and Sidebearings
A glyph is the shaped form of a character in a font. Each glyph has an advance width, which is the horizontal distance the text cursor moves after placing it. The advance includes the visible shape and its surrounding space.
A glyph also has sidebearings. The left sidebearing is the space before the glyph. The right sidebearing is the space after it. These spaces are built into the font so ordinary text has a consistent rhythm.
For example, the default distance between H and o comes from the right sidebearing of H and the left sidebearing of o. This spacing works well for many combinations, but not all.
Kerning: Specific Pairs
Kerning adjusts the space between particular glyph pairs. A font may move the o closer to T because the diagonal of T leaves an awkward gap beside the round shape of o. Kerning changes the pair, not every letter in the text.
The result is often subtle. Kerning improves the visual rhythm of display text, especially at large sizes, where spacing errors become easier to see.
Where Kerning Lives: Pair Tables Inside the Font
Kerning data is stored in font tables. These tables contain adjustments for pairs such as To, AV, or Wa. The text layout system reads the tables when it shapes text.
Some fonts provide detailed kerning data. Others provide little or none. Therefore, the same text can look different in different fonts even at the same point size.
Metrics, Optical, and Manual Kerning
Metrics kerning uses the font’s built-in pair data. It is the normal starting point. Optical kerning analyzes the shapes and adjusts spacing based on their contours. It can help when a font’s built-in data is weak or when unusual letter combinations appear.
Manual kerning moves individual pairs by eye. Use it for a logo, headline, or other short text that needs precise control. Manual adjustments are usually impractical for long paragraphs.
> callout note > Kerning fixes uneven gaps between specific pairs. It does not replace good glyph design or general tracking.
Tracking: Spacing a Whole Run
Tracking, also called letter spacing, applies a roughly uniform adjustment across a run of text. Positive tracking opens the text; negative tracking tightens it. Tracking affects many pairs, while kerning targets selected pairs.
Use tracking for the overall texture of a heading or label. Do not use it to repair one awkward pair. That is a kerning problem.
Exercise
Which control should you use to tighten every letter in a short all-caps label, and which control should you use to fix only the gap in “To”?
Show answer
Use tracking for the all-caps label and kerning for the “To” pair.