web font

A font file downloaded by the page, declared with @font-face, instead of one already installed on the user's device.

In more detail

Until the font loads, the browser may show a fallback typeface, changing text width and layout. Visual tests wait for document.fonts.ready before taking screenshots.

Example

In the browser: Font files are usually served in a compressed web format and can be large. Fonts are discovered late, only after CSS is parsed, so important ones are often preloaded.

Related terms

Taught in

References