Sub topic 13
Common pitfalls and how to fix them
This chapter assumes you know the basic vocabulary of type (serif, sans serif, weight, size). It also assumes you have set fonts in CSS or a design tool and built a simple page with headings and body text. It collects the mistakes that show up most often when pairing typefaces. For each one it explains how to recognize it, why it happens, and how to fix it.
Every pitfall below comes from the same two ideas. A good pair needs clear contrast along deliberate dimensions. It also needs shared structure, such as similar x-height, proportions, and stroke construction, so the two faces feel related. Most failures break one of those two conditions.
A quick map of the failures
| Symptom | Likely cause | Main fix |
|---|---|---|
| The two faces look like a mistake | Too similar: almost alike but not the same | Increase contrast on one dimension, or use one family |
| The two faces look like strangers | Contrast on too many dimensions, no shared structure | Match x-height, axis, or proportions |
| One face looks smaller than the other at the same size | Different x-heights | Adjust size or use `font-size-adjust` |
| The page feels noisy | Too many typefaces or too many styles | Cut to two faces, assign roles |
| Headings and body compete | Roles unclear, hierarchy weak | Assign display, text, and supporting roles |
| Layout jumps when fonts load | Fallback fonts differ in metrics | Match x-height in the fallback stack |
| The pair works in a specimen but not on the page | Tested with sample text only | Test with real content, sizes, and screens |
Pitfall 1: Pairing faces that are almost alike
Two typefaces from the same classification with small differences, such as two geometric sans serifs or two transitional serifs, produce conflict. The reader senses that the faces differ but cannot tell why, so the difference looks like an error instead of a choice.
How to recognize it. Put a heading in one face and a paragraph in the other. If someone asks "is that the same font?", the pair is too close.
How to fix it. You have two honest options.
- Use one family. Set the heading in a bolder weight or larger size of the same family. This is the safest approach and is covered in the chapter on superfamilies.
- Make the contrast obvious. Move across a classification boundary, for example a high-contrast serif for headings and a plain sans serif for text. Add a second dimension, such as weight, if the first is still weak.
Pitfall 2: Contrast everywhere, structure nowhere
The opposite mistake is choosing two faces that differ in every way: a condensed display face with a heavy slab and a wide, light, rounded sans. Everything contrasts, so nothing connects them. The page looks like two documents pasted together.
How to recognize it. Look at the shared traits. Compare x-height, stroke modulation, and axis. If the faces disagree on all three, there is no link.
How to fix it. Keep the contrast you wanted, but pick a partner that shares at least one structural trait. Good candidates for a shared link include:
- A similar x-height, so lowercase letters have the same visual size.
- Similar proportions, so neither face feels much wider or narrower than the other.
- A matching axis. A serif with a vertical stress pairs more comfortably with a sans serif built on a vertical axis than with one with a slanted, calligraphic stress.
- A related stroke construction, such as both faces having low modulation or both having high modulation.
You do not need to match everything. One strong shared trait, together with one clear contrast, is usually enough.
Pitfall 3: Mismatched x-height
Two faces set at the same font size can look quite different in size. The cause is x-height, the height of lowercase letters such as x, a, and e relative to the font size. A face with a large x-height looks bigger than one with a small x-height at the same nominal size.
How to recognize it. Set a heading and a paragraph in the pair and look at the lowercase letters. If one face looks oversized or undersized next to the other, the x-heights differ.
How to fix it. Either adjust the sizes by hand until the lowercase letters look balanced, or use font-size-adjust. This property scales each font so its x-height is a fixed fraction of the font size. The value 0.5 means the x-height is about half of the font size.
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;
}Because the adjustment applies to whichever font the browser actually uses, it also keeps the fallback fonts close in apparent size. That matters in the next pitfall.
Pitfall 4: Fallback fonts that break the pairing
A pairing is only as good as what the reader sees. If a web font fails to load, or loads late, the browser shows a fallback. A fallback with a different x-height and width changes the apparent size of text and can shift the layout when the real font arrives.
How to recognize it. Throttle the network in browser developer tools, or block the font file, and reload. Watch for text that jumps in size or reflows.
How to fix it.
- List fallbacks of the same classification as the intended face: a serif fallback for a serif, a sans serif fallback for a sans serif.
- Apply
font-size-adjustto both the primary and fallback fonts so the apparent size stays close. - Define the typefaces once in custom properties, so a change to the stack happens in one place.
:root {
--font-display: "Playfair Display", Georgia, serif;
--font-text: "Source Sans 3", system-ui, sans-serif;
}
h1, h2, h3 {
font-family: var(--font-display);
font-weight: 700;
}
body {
font-family: var(--font-text);
font-weight: 400;
}Pitfall 5: Too many typefaces and styles
Adding a third or fourth face to solve a small problem usually makes the page harder to read. Each new face adds a new set of proportions the eye must adjust to. A new weight, italic, or width of an existing face is often a better answer than a new face.
How to recognize it. Count the distinct families on a page. More than two needs a strong reason. Count styles too: a page with five weights, three italics, and four sizes in each is noisy even with only two families.
How to fix it. Reduce the system to two faces and define each role. When you need a supporting style, such as a caption or label, use the text family at a different size or weight. The example below shows a caption that stays in the text family and gets its emphasis from size, weight, and letter spacing.
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 6: Unclear roles and weak hierarchy
When both faces appear in similar sizes and weights, the reader cannot tell what is a heading, what is body text, and what is a note. The pairing exists, but it does no work.
How to recognize it. Squint at the page, or blur a screenshot. You should still see the order: the display level first, the text second, the supporting level last. If the levels merge, the hierarchy is weak.
How to fix it. Give each typeface a defined job.
- Display: headings and other large, short text. This role suits a face with personality and high contrast in its strokes.
- Text: long reading. This role needs a face that stays legible at small sizes, with a comfortable x-height and open shapes.
- Supporting: captions, labels, and notes. Reuse the text face with a change in size, weight, or spacing instead of adding a face.
Then enforce the roles with size, weight, and line height. Large display text needs tighter line height, such as 1.15. Body text needs looser line height, such as 1.6.
Pitfall 7: Display faces used for text
A decorative or high-contrast display face can look excellent at 40 pixels and fall apart at 16. Thin strokes break up on screens, and unusual shapes slow reading. The fix is to restrict that face to its role. If a design needs the personality of the display face in smaller sizes, choose a text version of the family, if one exists, or increase size and weight.
Pitfall 8: Mood and context mismatch
A pair can be well constructed and still wrong for the job. A playful rounded face on a legal document, or a stiff, formal serif on a children's app, sends the wrong signal. Structure and contrast do not guarantee fit.
How to fix it. State the mood and audience in a few words before choosing. Check whether each face's history and typical uses fit. If the pair is technically sound but the tone is off, keep the structural logic, meaning the contrast dimension and the shared trait, and swap in faces with a different character.
Pitfall 9: Testing with the wrong material
A specimen with the sentence "The quick brown fox" or placeholder text hides real problems. Real content has long headings, numbers, capitals, punctuation, and short and long lines.
How to recognize it. The pairing looked good in the design tool and looks wrong in the browser.
How to fix it. Test in this order:
- Use real headings and real paragraphs, including the longest and shortest.
- Check real sizes at the smallest and largest breakpoints.
- Check on real screens: a phone, a laptop, and a lower-resolution display if your audience uses one.
- Check weights and italics you actually use, since a missing weight may be synthesized by the browser and look wrong.
- Check the fallback by blocking the web font.
A diagnostic flow
Use this order when a pairing feels wrong. It starts with the cheapest fixes.
Worked example: fixing a failing pair
Suppose a page uses two geometric sans serifs, one for headings at weight 500 and one for body at weight 400. The result looks like an accident. Applying the checks:
- The faces are almost alike, so the pair is in conflict. Replace the heading face with a serif that has high stroke modulation, which creates a clear classification contrast.
- The new serif has a smaller x-height, so its lowercase letters look smaller than the body text. Apply
font-size-adjust: 0.5to both. - The heading is bold at 2.5rem with a line height of 1.15, and the body is regular at 1.125rem with a line height of 1.6. The levels now separate clearly.
- Block the web font and reload. The serif and sans serif fallbacks keep a similar apparent size, so the layout stays steady.
Exercise
A page sets headings in a condensed, heavy slab serif and body text in a wide, light, rounded sans serif. The two look disconnected. Name the pitfall, and give two ways to fix it.
Show answer
This is contrast everywhere with no shared structure. The faces differ in width, weight, and construction, and nothing links them. Fixes: choose a partner that shares a structural trait with the other face, such as a similar x-height, proportions, or axis; or reduce the number of contrast dimensions by keeping one clear difference, such as serif against sans serif, and moving the other traits closer together.
Exercise
Your heading face and body face are both set at 1rem, yet the heading's lowercase letters look noticeably smaller. What property of the typefaces explains this, and what CSS property can reduce the mismatch?
Show answer
The faces have different x-heights, so their lowercase letters appear different sizes at the same font size. Setting font-size-adjust (for example 0.5) on both the heading and body rules scales each font so its x-height is a consistent fraction of the font size. Measure the result at the sizes you ship.
Exercise
A designer adds a third typeface for captions. What is a better way to get a distinct caption style, and why?
Show answer
Use the text family and change its size, weight, or letter spacing, as in a .caption rule with a smaller size, weight 600, and slight letter spacing. A third face adds another set of proportions the eye must adjust to and tends to make the page noisy, while a style change inside the existing family keeps the system at two faces.