liveBook · Manning

Font

As explained in Design for Developers

A particular digital implementation or style of a typeface, often defined by weight, size, or other attributes.

A font is a particular variation within a typeface: a choice of weight, size, and style. Open Sans is a typeface; Open Sans Regular 400 is one font within it. For a website, choose a typeface first, then select the fonts you need from its family. You rarely need every available variation. section 8.1.1

Figure 8.2 This typeface is Open Sans, and all the styles shown are the fonts within the typeface. I frequently use the Open Sans Regular 400 font for my web projects when I want a readable font for the main body text.

The Open Sans variations make the distinction visible: one typeface can offer several fonts, including Regular 400 for body text. section 8.1.1

A font changes more than the appearance of letters. Its style can change how a message feels: the same affectionate words can become unsettling in horror-themed lettering. Match that visual tone to the product, but do not let personality make important text difficult to read. section 8.0 section 8.2.1

When selecting fonts for a web page:

  • Check legibility at the size you will actually use. Keep long body copy in a readable serif or sans serif font rather than a decorative one; test uncertain choices with users or on lower-resolution devices. section 8.2.1
  • Check web-use rights before embedding a font. Google Fonts offers an open-source catalog; Font Squirrel provides links for checking licenses that vary by font. section 8.2.1
  • Give headings and body copy enough contrast to show their roles. Different weights from one family can work, but a heading that is only slightly larger and no bolder may not establish a clear hierarchy. section 8.2.2
  • Adjust letter spacing sparingly. Large changes in either direction make text harder to read, so ask others to check the result if you are unsure. section 8.2.6

Pairing fonts for a website

A modern-looking heading can use Montserrat, while longer paragraphs use Albert Sans in a regular or medium weight. The body font needs distinct, readable letter shapes; a thin or very bold font is a poor choice for small text. Another route is to stay within Fira Sans, pairing Regular 400 body copy with an extra-bold 800 heading. section 10.4 section 8.2.2

Once the fonts work together, place them in a consistent type scale and spacing system. Recheck readability in the finished layout: line height, line length, and spacing affect whether people can comfortably follow the page, not just which font was chosen. section 10.4 section 8.3

How Design for Developers covers it

How deep it goes
Defines fonts against typefaces and gives practical selection, pairing, licensing, and readability checks without descending into font-file internals.
Examples
Compares Open Sans variations, pairs Fira Sans weights, and assigns Montserrat headings with Albert Sans body text.
What it assumes
Introduces the font–typeface distinction and basic type classifications without assuming prior typography vocabulary.
What you can do after
Apply it via Google Fonts by choosing licensed web fonts, pairing distinct heading and body styles, and testing readability.
How it connects
Connects fonts to typefaces, visual hierarchy, accessibility, letter spacing, type scales, and vertical rhythm.

Also explained in

Compare how 6 books explain font →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Design for Developers. The section links point to the parts of the book it draws on.