liveBook · Manning

System font

As explained in CSS in Depth, Second Edition

A system font is a typeface installed on the user's operating system and available for local text rendering.

A system font is a typeface already installed on the user’s operating system. Fonts such as Arial, Helvetica, and Georgia were historically dependable because browsers could render them without downloading additional files. section 12.2

System fonts commonly act as fallbacks while web fonts download. Because the two fonts may occupy different amounts of space, replacing the fallback can shift the layout and make text jump around. section 12.5

Use system fonts with these trade-offs in mind:

  • Prefer them when immediate rendering matters: fonts already on the user’s system do not require web-font downloads. section 12.5 section 12.5.1
  • Expect visual differences when they replace a web font, because the change can alter text dimensions and page layout. section 12.5
  • Avoid using ch and ex units for large page regions when fonts may change, since their dimensions vary between typefaces and can increase layout shift. section 12.5.1
  • Choose a system-font stack when broad operating-system coverage is more important than loading a custom typeface; Modern Font Stacks provides such lists. section 12.5.1
Figure 12.14 FOUT—Flash of Unstyled Text
figure

Use the FOUT illustration to see how a system-font fallback can appear before the web font finishes loading. section 12.5

How CSS in Depth, Second Edition covers it

How deep it goes
Explains availability, fallback rendering, layout shift, and font-dependent units, but stops short of detailed font-stack syntax.
Examples
Uses Arial, Helvetica, and Georgia, plus FOUT and cross-operating-system system-font stacks, as concrete examples.
What it assumes
Assumes basic CSS typography knowledge while establishing the distinction between installed system fonts and downloadable web fonts.
What you can do after
Evaluate font-loading trade-offs and choose when installed fonts or system-font stacks reduce download-related rendering problems.
How it connects
Connects system fonts with web fonts, fallback fonts, FOUT, FOIT, layout shift, and CSS ch and ex units.

Also explained in

Compare how 2 books explain system font →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of CSS in Depth, Second Edition. The section links point to the parts of the book it draws on.