CSS font sizing and line-height

Manish Goregaokar's 2017 writeup on the surprises hidden in the font-size property remains the reference for how strange CSS typography can get. Among the documented oddities, the discrepancy where font: medium monospace renders at 13px while font: medium sans-serif renders at 16px is a standout.

For rhythm on the page, the guidance is straightforward: because CSS supports a unitless line-height, hard-coding a fixed number is usually the wrong move.

Self-hosting and the end of shared caching

Simon Wicki's argument to ditch Google Fonts is about hosting, not about the typefaces themselves: self-host them. The old speed defence — that visitors likely already have the font cached from another site — no longer holds as browsers move toward per-domain cache isolation. Notably, the case here rests on caching alone, not on finer control over how fonts are loaded.

Font loading without layout shift

Cumulative Layout Shift gives web font loading a measurable cost, and with CLS feeding into search rankings, a shift caused by a font swap becomes a real problem. CSS offers control over that behaviour through font-display, so a setup that lets loading push the page around is a design failure rather than an inevitability.

Simon Hearne's suggested fix is to tune the custom font and the fallback so they match on metrics. Building perfect fallback fonts is among the more valuable tricks CSS gives us here.

Choosing type for interfaces

Oliver Schöndorfer separates "functional text" — anything that isn't paragraph copy or a display heading — from the rest, and argues for it on one principle: clarity is key.

Worth a look: color fonts

John Boardley's picks for 2020 include color fonts, whose rendering is genuinely striking. LiebeHeide is a good example, reading like real pen on paper.