Sub topic 11
Choosing and Pairing Typefaces
This chapter assumes you know the basic vocabulary of type (typeface, size, weight, italic) and have met the type scale and weight cues from earlier chapters. The code examples use basic CSS.
Why pairing is a hierarchy decision
A typeface is a design of letterforms, such as Georgia or Helvetica. A font is one style of it, such as Georgia Bold. Earlier chapters used size, weight, and spacing to separate headlines, subheads, and body text. A second typeface is one more cue you can use. It is also the easiest cue to overuse.
The goal is not variety. The goal is to make each level easy to tell apart while the page still looks like one piece of work.
Start with one family
A single family with several weights often does the whole job. A headline in Bold, a subhead in SemiBold, and body text in Regular already give three clear levels. Superfamilies, such as Source Sans and Source Serif, are drawn to match, so you can mix serif and sans-serif forms without a clash.
Add a second typeface only when you can name what it does. Common reasons are a headline that needs more character than the body face, or a long text that reads better in a serif than the interface font.
Contrast without conflict
Two typefaces work together when they differ clearly or barely at all. The risky zone is in between. Two similar serifs, such as Georgia and Times, look like a mistake instead of a choice.
Use these checks:
- Pair across classes. A serif with a sans-serif is the safest contrast.
- Match proportions. Compare x-height, the height of lowercase letters like "x". If one face has a much larger x-height, it looks bigger at the same size, and you must adjust the sizes.
- Match the mood. A geometric display face over a formal text face gives mixed signals.
- Limit the set. Use two typefaces at most for most layouts.
Assigning roles
Give each typeface one job and keep to it. A common split uses the more distinctive face for headlines and the more readable face for body text, because body text is read in long stretches and needs to be comfortable.
:root {
--font-display: "Georgia", serif;
--font-text: "Helvetica Neue", Arial, sans-serif;
}
body {
font-family: var(--font-text);
font-size: 1rem;
line-height: 1.5;
}
h1, h2 {
font-family: var(--font-display);
}
h1 { font-size: 2.441rem; font-weight: 700; line-height: 1.15; }
h2 { font-size: 1.563rem; font-weight: 600; }Custom properties hold the two choices in one place. If you change a pairing later, you edit two lines, not every rule. Each list ends with a generic family (serif, sans-serif) so the browser has a sensible fallback if the first font is missing.
Common errors
- Too many faces. Three or more typefaces compete, and the hierarchy turns into noise.
- Pairing near-twins. Two similar faces look accidental.
- Ignoring x-height. The body face looks small next to the headline face even when the sizes match.
- Using a display face for body text. Decorative faces tire the eye in long paragraphs.
- Loading too many font files. Each weight is a separate file and slows the page. Load only the weights you use.
Exercise
A layout uses Georgia for headlines and Times New Roman for body text, and the page looks slightly off. What is wrong, and how would you fix it?
Show answer
The two faces are both serifs with similar shapes, so the difference looks like an accident, not a deliberate contrast. Either use one family for everything and separate levels with size and weight, or pair the serif headline with a sans-serif body face of similar x-height and give each face one role.
Exercise
Why does the CSS above end each font-family list with a generic family such as serif or sans-serif?
Show answer
If the named font fails to load or is not installed, the browser falls back to the generic family, so the page keeps a similar style and its hierarchy stays intact.