Font Pairing
Also known as: Font Combinations, Typeface Pairing
What Is Font Pairing?
Font pairing is choosing typefaces that work together in one design, most often one font for headlines and another for body text. A pair works when the two fonts contrast in a way readers can see, such as a serif with a sans serif, and still share at least one trait, like x-height, curves or mood, that ties them together.
Pair a headline font with a body font
Pick one of each from CE.SDK’s built-in typeface library, then set them on the same line to compare their x-heights.
Display serif headline, sans serif body.
- Playfair Display
- …
- Source Sans Pro
- …
- Matched size
- …
- Width
- …
x-height is a share of each font’s size. Matched size and width are the headline font’s, against the body font.
A serif with a sans serif is the safest kind of contrast between two families.
The fonts load when this card scrolls into view.
What Makes Two Fonts Work Together?
Two fonts work together when they differ clearly in one or two traits and stay close in the rest. Fonts that differ in everything look unrelated, while fonts that differ only slightly look like a mistake.
- Contrast the classification. A serif with a sans serif is the least risky contrast between two families, since the serifs alone tell them apart.
- Share at least one trait. Similar x-heights, curves or moods tie two different fonts together, which is why the members of a superfamily pair so easily.
- Avoid near-twins. Two slab serifs, or two sans serifs with similar shapes, look almost alike and clash instead of contrasting.
- Make the weights clearly different. A light headline over bold body text loses its authority, so give the headline the heavier weight.
- Match the mood to the content. Every font has a personality, so both fonts should suit the job the text does and each other.
How Many Fonts Should One Design Use?
Two font families are enough for most designs, and one large family is the safest place to start. Each font you add needs a role of its own.
One family in several weights
A large family gives headlines, body text and captions their own styles, and its weights and widths were made to complement each other, so they can’t clash. Try the other styles of the family before you reach for a second one.
Two families for most designs
A headline font and a text font are enough for most documents. Give each a fixed role, so the same kind of text always appears in the same font.
A third family with one job
A third family can work when it does a single job, such as display headlines, and stays out of the body text and captions.
Which Font Pairing Should You Use?
A pairing should follow the job the text does and whether the two fonts ever share a line. An event poster, for example, can set the event name in Playfair Display and the date, venue and prices in Source Sans Pro, with the event name as the only text in the display font.
| Use | Why | |
|---|---|---|
| Most designs, as a first try | One large family | Its styles can’t clash |
| Articles, reports and menus | A serif and a sans serif | The contrast hardest to get wrong |
| A brand with a serif and a sans serif | One family with both, like Roboto Slab and Roboto | Both are built on one skeleton |
| Posters and event graphics | A display font for the headline only | Playfair Display is drawn for large sizes |
| A phrase in a second font mid-sentence | Matched x-heights | Readers see x-heights, not point sizes |
How Font Pairing Works in CE.SDK
CE.SDK comes with a typeface library that includes the serifs Playfair Display and Roboto Slab and the sans serifs Montserrat and Open Sans. Your brand’s fonts can sit beside those in the web editor or replace them, and the asset library also offers your users more than 20 Text Combinations: ready-made layouts of several text elements.
To keep a template on brand, you can limit the font picker to your pair and lock the headline’s font, size and color while its words stay editable. Locks apply in the Adopter role your users open templates in, while the Creator role ignores them. One text block can also hold both fonts, since the engine sets a typeface on a range of characters.
// Two fonts from the built-in library, or your own font files.
engine.asset.addLocalSource('brandFonts');
for (const name of ['Playfair Display', 'Source Sans Pro']) {
const { assets } = await engine.asset.findAssets('ly.img.typeface', {
query: name,
page: 0,
perPage: 1,
});
engine.asset.addAssetToSource('brandFonts', {
id: name,
label: { en: name },
payload: assets[0].payload,
});
}
// Show only these two in the font picker.
cesdk.ui.updateAssetLibraryEntry('ly.img.typefaces', {
sourceIds: ['brandFonts'],
});
// Headline: editable words, fixed font, size and color.
engine.block.setScopeEnabled(headline, 'editor/select', true);
engine.block.setScopeEnabled(headline, 'text/edit', true);
engine.block.setScopeEnabled(headline, 'text/character', false);
// Locks apply to Adopters, the role your users open templates in.
engine.editor.setRole('Adopter'); FAQs
Fonts that differ clearly in one or two traits and stay close in the rest. A serif with a sans serif is the least risky combination, the serif and sans serif members of one superfamily come ready to pair, and two fonts that look almost alike tend to clash.
Two families are enough for most designs, and one large family in several weights is the safest place to start. A third family can work when it has a single job, such as display headlines.
Yes, when they come from clearly different groups of serif design. Two serifs from the same group, such as two slab serifs, look almost alike, so readers see a mismatch instead of a contrast.
Yes, when their designs differ clearly enough for readers to see two different fonts. Two sans serifs with similar shapes look like a mistake and clash.
Each font gives its lowercase letters a different share of the font size, its x-height, and readers judge size mostly by the lowercase. When two fonts share a line, match their x-heights instead of their point sizes, which is what the CSS property font-size-adjust does.
Links
Documentation and references for this concept.
Creative Editor SDK
Ships a typeface library of serifs and sans serifs, and accepts your brand fonts too.
Enforce Brand Guidelines
Register a heading font and a body font, then show only those two in the font picker.
Lock Design
Use scopes to keep a text block's typeface fixed and its wording open to edits.
Related Terms
Serif vs Sans Serif
The two broad kinds of typeface, told apart by serifs: the small strokes at the ends of a letter's main lines. Serif fon…
Kerning vs Tracking
The two settings for the space between letters. Kerning adjusts a single pair whose shapes leave a gap, like W and A, us…
Leading (Typography)
The vertical gap from baseline to baseline in a block of text, named after the lead strips once used to space lines of m…



