Sub topic 13
Common pitfalls and how to fix them
This chapter assumes you know the vocabulary of type (serif, weight, x-height), have set fonts in CSS, and have read the earlier chapters on contrast, shared structure, and roles. It collects the mistakes that show up most often in real pairings and gives a fix for each.
Pitfall 1: Two faces that are almost alike
Two serifs with similar weight, size, and proportions do not read as a deliberate pair. The reader sees a mistake, not a choice. This is the conflict case from the concord, contrast, and conflict chapter.
Fix: Pick one dimension and push it hard. Change classification (serif against sans serif), or change weight (a bold display face against a regular text face). If the faces still look like cousins who disagree, drop one and use a single family.
Pitfall 2: Contrast on every dimension at once
The opposite failure is a pair that differs in everything: a heavy, narrow, decorative display face next to a light, wide, geometric sans. Nothing links them.
Fix: Contrast along one or two dimensions and share the rest. Choose faces with similar x-height, similar stroke modulation, or a similar axis, so the eye finds a common thread.
Pitfall 3: Mismatched x-height
Faces set at the same font-size can look different in size when their x-heights differ. The larger x-height looks bigger. This is also a problem when a fallback font replaces your chosen font while it loads.
Fix: Use font-size-adjust so each font is scaled to the same x-height ratio.
body {
font-family: "Source Sans 3", system-ui, sans-serif;
font-size-adjust: 0.5;
}
h1, h2, h3 {
font-family: "Playfair Display", Georgia, serif;
font-size-adjust: 0.5;
}With this rule, the browser scales whichever font it actually uses, including fallbacks, so its x-height is about 0.5 of the font size.
Pitfall 4: Too many typefaces
A third or fourth face usually adds noise. Each new face needs a role that the others cannot fill.
Fix: Keep to two. Create extra variety with size, weight, line height, and letter spacing, not with more families. The caption in this example stays in the text family.
h1 {
font-family: "Playfair Display", Georgia, serif;
font-size: 2.5rem;
font-weight: 700;
line-height: 1.15;
}
p {
font-family: "Source Sans 3", system-ui, sans-serif;
font-size: 1.125rem;
font-weight: 400;
line-height: 1.6;
}
.caption {
font-family: "Source Sans 3", system-ui, sans-serif;
font-size: 0.875rem;
font-weight: 600;
letter-spacing: 0.02em;
}Pitfall 5: A display face used for body text
High-contrast display faces have thin hairlines that break up at small sizes on screens. Long passages in them tire the reader.
Fix: Give the display face only large, short text. Give body text to a face designed for reading, with sturdy strokes and generous spacing.
Pitfall 6: Unclear roles
If headings, subheadings, and captions each use a different face or weight with no pattern, the hierarchy breaks down.
Fix: Write down the role of each face before you style anything. In the CSS, assign roles through custom properties so each face has one job and is easy to change in one place.
:root {
--font-display: "Playfair Display", Georgia, serif;
--font-text: "Source Sans 3", system-ui, sans-serif;
}Pitfall 7: Judging the pair only on a specimen
A pair can look good on a specimen sheet with the words "Hamburgefonstiv" and fail with your real content. The testing chapter covers this in detail.
Fix: Test with real headings, real paragraphs, and real sizes, on real screens.
Diagnosing a pairing
Quick reference
| Symptom | Likely cause | Fix |
|---|---|---|
| Looks like an accident | Faces too similar | Contrast on one clear dimension |
| Looks disjointed | No shared structure | Match x-height, axis, or modulation |
| One face looks larger | Different x-heights | `font-size-adjust` |
| Page feels busy | Too many faces | Limit to two, vary size and weight |
| Body text is tiring | Display face in text role | Use a text face for reading |
Exercise
A page uses Georgia for headings and Times New Roman for body text. Both are serifs of similar weight. The result looks slightly off. Name the pitfall and give two ways to fix it.
Show answer
The pitfall is faces that are almost alike, which reads as conflict instead of deliberate contrast. One fix is to change classification, for example by keeping the serif headings and switching body text to a sans serif with a similar x-height. The other is to use a single family and create contrast with weight and size instead.
Exercise
Headings in a serif look much smaller than the sans serif body text, even though both are set to the same font-size. What is the likely cause, and which CSS property addresses it?
Show answer
The two fonts have different x-heights, so the one with the larger x-height looks bigger. Setting font-size-adjust (for example 0.5) on both scales each font to the same x-height ratio.