Sub topic 1
Typography Basics You Need Before Mixing in Images
Prerequisites
This chapter assumes you can already do the following:
- Open a design tool such as Figma, Illustrator, InDesign or Photoshop and create a text frame.
- Tell a typeface (the design family, such as Inter) from a font size and a font weight.
- Read basic color and resolution terms, such as RGB, hex values and pixels per inch.
You do not need layout experience. This chapter covers the four text properties that every later chapter relies on: size, weight, leading and line length. Once an image sits behind or beside text, these properties decide whether the result is readable.
Why type comes first
An image can hide weak typography, but it cannot repair it. A photo behind a paragraph adds noise, changes the contrast and takes away space. If the paragraph was already cramped or too wide, the image makes it worse. Settle the text first, then bring the image in.
Size
Size is the height of the type, usually set in points (print) or pixels and rem units (screen). Two ideas matter most.
First, body text needs a size that suits the medium. Roughly 16 px works on screens, and 9 to 11 pt works in print. Second, sizes should form a scale, not a random set. A scale is a series of sizes with a fixed ratio between steps. With a ratio of 1.25 and a 16 px base, the steps are about 16, 20, 25, 31 and 39 px.
A scale gives you headline, subheading and body sizes that look related. It also makes the hierarchy in Chapter 3 easier to build, because the difference between levels is obvious.
Common size errors:
- Choosing sizes by eye so the difference between two levels is only 1 or 2 px. The levels look like a mistake, not a choice.
- Sizing text on a large monitor and never checking it at the real output size.
- Using very small text (under 12 px) for captions and credits, then placing it on a busy photo.
Weight
Weight is the thickness of the strokes, from thin (100) through regular (400) to bold (700) and black (900). Weight adds emphasis without changing size.
Weight behaves differently on images. Thin strokes on a textured photo can disappear, because the background detail is as fine as the letters. Heavier weights survive better. As a starting point:
| Use | Weight range | Note |
|---|---|---|
| Body text | 400 | Avoid 300 or lighter on photos |
| Subheads and labels | 500 to 600 | Keeps contrast with body without a size jump |
| Display headlines | 600 to 800 | Heavy strokes hold up over images |
Use few weights. Two or three in a layout is usually enough. If you pair a bold headline with a regular body, you do not need to also vary the color and the size dramatically.
A common error is faux bold. If a typeface does not include a bold style, some tools thicken the letters artificially, and the shapes distort. Pick a family that includes the weights you need.
Leading
Leading (pronounced "ledding") is the distance from one baseline to the next. Baseline is the invisible line the letters sit on. On the web it is set with line-height.
Too tight and the descenders of one line touch the ascenders of the next. Too loose and the lines stop reading as one paragraph. Useful starting points:
- Body text: 1.4 to 1.6 times the font size.
- Large headlines: 1.0 to 1.2 times the font size, because big type looks looser than it is.
- All caps or small labels: slightly more than lowercase text of the same size.
Leading interacts with images in a specific way. Text on a photo needs a little extra room, since the background competes with the letters. If a paragraph sits on a textured area, raising leading from 1.4 to 1.5 often helps more than changing the size.
Common error: using one leading value for every text style. A headline set at 1.5 looks detached, and a paragraph at 1.1 looks crushed.
Line length
Line length, also called measure, is how many characters fit on one line. Readers lose their place when lines are too long, and they stumble when lines are too short.
- Aim for about 45 to 75 characters per line for body text. Around 66 is a classic target.
- For narrow columns, such as a caption beside a photo, 25 to 40 characters is acceptable.
- For headlines, line length is less about reading speed and more about shape. Break lines at natural phrases.
Line length is the property most affected by images. When a photo takes up part of the page, the text column narrows. If you let a paragraph stretch across the full width of a wide image, the measure becomes far too long. Limit the text block width, not just the image.
Alignment affects length
Left-aligned text with a ragged right edge is the safest choice for body copy. Justified text can create uneven gaps ("rivers") in narrow columns. Centered text works for short lines such as a title on a hero image, but it becomes hard to read past two or three lines, because the starting point of each line changes.
A working example
The following CSS sets all four properties together. It uses rem so the sizes follow the reader's base size, and ch units so the measure is expressed in characters.
:root {
--step-0: 1rem;
--step-1: 1.25rem;
--step-2: 1.5625rem;
--step-3: 1.953rem;
}
body {
font-family: system-ui, sans-serif;
font-size: var(--step-0);
font-weight: 400;
line-height: 1.5;
}
h1 {
font-size: var(--step-3);
font-weight: 700;
line-height: 1.15;
}
h2 {
font-size: var(--step-2);
font-weight: 600;
line-height: 1.25;
}
p {
max-width: 66ch;
}
.caption {
font-size: 0.875rem;
line-height: 1.4;
max-width: 40ch;
}Notice three decisions. Headlines have tighter leading than body text. The paragraph width is capped at 66 characters, so a wide container does not stretch it. The caption is set narrower and slightly smaller, and it is still large enough to read.
Checking your text before adding an image
Run this quick check on a text block in a plain white frame:
- Squint at the page. Can you still tell the headline from the body?
- Count characters on three typical lines. Are they between 45 and 75?
- Look at the gaps between lines. Do any descenders touch the line below?
- View the layout at its real output size (a phone screen, a printed A5 sheet). Is the smallest text still readable?
- Count weights and sizes. If you have more than three weights or five sizes, remove some.
If the block passes on white, you can add an image and know any new problem comes from the image.
Common errors in summary
| Error | Symptom | Fix |
|---|---|---|
| Random sizes | Levels look accidental | Use a scale with a fixed ratio |
| Thin weight on a photo | Letters vanish into texture | Use 500 or heavier |
| One leading value for everything | Headlines look loose, body looks tight | Set leading per style |
| Full-width paragraphs | Readers lose their place | Cap at about 66 characters |
| Faux bold | Distorted letter shapes | Choose a family with real bold |
Exercise
A body paragraph is set at 16 px with line-height 1.5 and fills a 1,100 px wide column. A designer wants to place a photo to its right. What is wrong with the paragraph before the photo is added, and what two changes would you make to the text style?
Show answer
The line length is far too long. At 16 px, 1,100 px holds roughly 130 characters per line, well beyond the 45 to 75 range. Cap the paragraph width at about 66ch (roughly 560 to 600 px at this size), and keep or slightly adjust the leading at 1.5. The freed space then becomes room for the photo, and the paragraph stays readable.
Exercise
You need a headline that will sit over a textured photo. Which weight and leading would you choose out of (a) 300 weight, 1.6 leading, or (b) 700 weight, 1.15 leading, and why?
Show answer
Choose (b). Heavy strokes survive background texture, while 300 weight can blend into it. Tight leading of about 1.15 suits large display type, and 1.6 would make a multi-line headline look detached.