Sub topic 2
Kerning: Adjusting the Space Between Specific Pairs
This chapter assumes you know basic typography vocabulary (glyph, baseline, point size) and have used a design tool or basic CSS. It also assumes you know that each glyph has an advance width made of a left sidebearing, the drawn shape, and a right sidebearing.
Why default spacing is not enough
A font gives every glyph a fixed advance width. If you place glyphs one after another, the gap between two letters is the right sidebearing of the first plus the left sidebearing of the second. This works for letters with straight vertical sides, such as "H" and "I".
It fails for letters whose shapes lean, curve, or leave open space. Consider "A" and "V". Both have diagonal sides, so the gap between them looks much wider at the top than the sidebearings suggest. The pair looks loose even though the numbers are consistent.
Kerning is the adjustment of space between one specific pair of glyphs. It is applied on top of the sidebearings. A negative value moves the pair closer. A positive value moves it apart.
A worked example
Take the word "AVATAR". Without kerning, the pairs AV, VA, AT, and TA each leave a visible hole. With kerning, the font pulls each of those pairs closer by a fixed amount.
The table below shows typical values. They are written in units of 1/1000 em, which is how design tools usually report kerning. The exact numbers differ from font to font.
| Pair | Typical kerning | Why |
|---|---|---|
| AV | -80 | Two diagonals open a large triangle of white space |
| VA | -80 | Same shape, reversed |
| To | -70 | The wide top bar of T overhangs the lowercase o |
| LT | -90 | L has an open right side, T has an open lower left |
| HI | 0 | Both sides are straight, so no correction is needed |
A value of -80 means the second glyph moves left by 80/1000 of an em. At 100 px type, that is 8 px.
Kerning is a property of the pair
Kerning depends on the combination of two glyphs, not on a single glyph. The letter "A" has no kerning of its own. "A" next to "V" has one value, and "A" next to "T" has another.
Because of this, kerning does not change when you change the text around the pair. If "AV" appears in "SAVE" or in "TRAVEL", the same adjustment applies. This separates it from tracking, which changes every pair by the same amount. Later chapters cover that difference in detail.
Where kerning matters most
Kerning is easy to miss at small sizes. A gap of 8 units in 12 px type is under a tenth of a pixel. At display sizes, the same error is obvious.
Look hardest at these places:
- Headlines and logos, where letters are large and few.
- Pairs of a capital with a lowercase letter, such as "Ty", "Yo", and "Wa".
- Pairs involving punctuation, such as quotation marks next to "A" or a period after "T".
- Combinations of diagonal and straight letters, such as "AL" or "VI".
Most fonts include kerning for common pairs. A font cannot cover every pair, and it cannot know your size, your language mix, or your brand name, so check key text by eye.
Checking kerning in CSS
Browsers apply a font's built-in kerning by default. You can compare kerned and unkerned text with the font-kerning property.
body {
font-kerning: normal;
}
.kerning-off {
font-kerning: none;
}Put the same word "AVATAR" in two elements, one with each class, and compare the results at a large size. The unkerned version shows loose gaps at AV, VA, AT, and TA.
Common mistakes
- Fixing a spacing problem with kerning when the whole line is too tight or too loose. That needs tracking, not pair adjustments.
- Adding manual kerning to body text. The font's built-in kerning is usually enough, and manual changes are hard to maintain across edits.
- Judging kerning by the numbers. A pair with a value of 0 can still look wrong, and a large value can look right.
Exercise
At 64 px, a design tool reports a kerning value of -50 for the pair "To". How many pixels closer does the "o" move, and what is the CSS-style em value?
Show answer
-50 units is -50/1000 em, which is -0.05em. At 64 px that is 0.05 × 64 = 3.2 px, so the "o" moves 3.2 px closer to the "T".
Exercise
A headline reads "WAVE" and the gap between W and A looks larger than the gap between V and E. Should you change tracking or kerning, and why?
Show answer
Kerning. The problem affects specific pairs, not the whole line. Tracking would change every pair by the same amount and leave the uneven rhythm in place.