Skip to content
← Back to blog
Typography

Web typography: beyond font-family

Juan Hug
TypographyUI

When someone asks me how to choose typography for a site, the first answer I give usually disappoints: the font itself is the least important decision. You can build a solid type system with a system font and a mediocre one with the most expensive typeface on the market. What makes the difference is everything surrounding that choice.

The scale matters more than the typeface

A well-thought-out type scale (the mathematical relationship between the text sizes you'll use) solves 80% of the work before choosing a single font. If the jumps between sizes are consistent (a fixed ratio, like 1.25 or 1.333), the hierarchy feels orderly even if the design is simple. If sizes are picked "by eye", screen by screen, the system starts to feel arbitrary even with an excellent typeface.

Vertical rhythm, the detail nobody sees and everybody feels

Line-height and spacing between blocks of text define whether a page feels airy or cramped. A common mistake is leaving the browser's default line-height on long text: it tends to come out short, and the eye loses the line when jumping to the next one. For body text, a line-height between 1.5 and 1.7 almost always works better than the default.

Then there's the rhythm between blocks: headings, paragraphs, lists. If everything uses the same bottom margin, the text loses visual structure even if the size hierarchy is well solved. Spacing also communicates hierarchy, not just font size.

Legibility on screen is not legibility on paper

A typeface can look spectacular on a poster and be uncomfortable to read in a long paragraph on a 13-inch screen. Things to look at before committing to a body font: the x-height (how much space a lowercase letter takes without ascenders or descenders), the width of the characters, and how it behaves at small sizes (14-16px), not just in big headings where everything looks good.

Performance is also typographic design

Loading four weights of a variable font when only two are used, or not setting a good font-display, makes the user see invisible text (or an abrupt font jump) while it loads. That's also a typographic decision, even if it has nothing to do with which letter you chose. The best typeface in the world is useless if it takes two seconds to appear.

In short

Font-family is the last decision, not the first. First you have to solve scale, vertical rhythm, real legibility in the context where it will be read, and load performance. With that base sorted, almost any decent font works. Without it, none does.

Found this useful? Get in touch if you want to talk about your project.