Font

On this page 7

A font is a specific instance of a typeface, defined by its weight, width and style and delivered as a file that a computer uses to render text. In typography, the typeface is the design (for example a sans-serif family), while a font is one concrete member of it, such as the bold italic, packaged in a format like OpenType or WOFF2.

The word comes from metal type, where a font was a complete set of letters in one size and one style. Digital fonts are scalable, so size is no longer part of the definition, but the distinction between design and implementation remains useful when choosing, licensing and deploying type.

Font versus typeface

In everyday speech the two words are used interchangeably, but professionals keep them apart. A typeface is the creative design shared by a family, and a font is the deliverable that implements one variant of that design. The difference matters most when discussing licensing, file formats and weights.

ConceptWhat it isExample
TypefaceThe overall letter designA humanist sans-serif design
Font familyAll styles of one typefaceLight, Regular, Bold and their italics
FontOne style in one file or instanceBold Italic as an OTF file
Variable fontOne file containing a continuous rangeWeight axis from 100 to 900
Typeface, font family and font compared

What a font file contains

A digital font is more than a set of shapes. It contains glyph outlines, a character map that links Unicode code points to glyphs, metrics such as advance widths and vertical metrics, kerning data, and often OpenType features for ligatures, small caps or alternative numerals.

Outlines are drawn on a grid of units per em, usually 1000 for PostScript-flavored fonts and 2048 for TrueType-flavored fonts. Key vertical measurements, including the x-height, cap height, ascender and descender, are defined in these units and scale proportionally with the font size.

ComponentPurposeEffect on text
Glyph outlinesShapes of letters and symbolsVisual design of each character
Character mapLinks Unicode to glyphsWhich languages and symbols are supported
MetricsWidths, line spacing valuesSpacing and default leading
Kerning tablesSpacing adjustments for letter pairsEven rhythm in pairs such as AV
OpenType featuresSubstitution and positioning rulesLigatures, small caps, figure styles
HintingInstructions for low-resolution renderingSharpness at small screen sizes
Main components of a font file

Font formats

Font formats differ in outline technology, compression and where they are used. For new projects, OpenType for desktop and WOFF2 for the web cover almost every need.

FormatCharacteristicsTypical use
OpenType (OTF, TTF)Cross-platform, rich typographic featuresDesktop design and operating systems
TrueType (TTF)Quadratic outlines, strong hinting supportSystem fonts, older workflows
WOFF2Compressed web wrapper, smallest filesWebsites and web applications
WOFFOlder compressed web wrapperFallback for very old browsers
Variable font (OpenType)Interpolated design axes in one fileResponsive and flexible typography
Common font formats and their uses

A variable font stores one or more design axes, such as weight, width or optical size, and lets software select any value along them. One variable file can replace many static fonts, which often reduces total download size on the web when several weights are needed.

Choosing and using fonts

Choosing a font starts with the reading situation: text size, medium, language coverage and the number of styles the hierarchy requires. Legibility at the actual size matters more than the impression of a specimen sheet.

SituationRecommended choiceReason
Long body text on screenLarge x-height, open aperturesReadable at 16 px and above
Interfaces with dataFont with tabular figuresNumbers align in columns
Multilingual productFont with broad character coverageAvoids fallback fonts mid-sentence
Performance-sensitive websiteSubset WOFF2 or one variable fontFaster loading, less layout shift
Display headlinesFont optimized for large sizesTighter spacing and finer details
Font choice by situation

On the web, fonts are loaded through the font-face rule, and the font-display setting decides whether text appears in a fallback font first. Defining a fallback stack with similar metrics limits the visible jump when the web font arrives.

Font licensing and common mistakes

Fonts are software with licenses, and the license usually depends on the use: desktop, web, app embedding or broadcast. Open-source fonts under the SIL Open Font License may be used and embedded freely, while commercial fonts often limit page views, installations or applications.

  • Using a desktop license on a website may violate the terms, because web embedding is usually licensed separately.
  • Faux bold and faux italic, generated by software when a style is missing, distort the design; the real font file should be loaded.
  • Loading too many fonts slows pages and weakens visual consistency; two families are usually enough.
  • Missing glyphs for accented letters cause fallback characters that break the look of the text.

The idea in brief

A typeface is the design of the letters, like a recipe. A font is one specific version you actually use, like a particular dish made from that recipe, for example the bold or the italic.

On a computer, a font is a file that tells the screen or printer how to draw each letter. Choosing the right font affects how easy text is to read and how a brand or document feels.

A practical scenario

A design team rebuilds the website of a regional newspaper. The old site loads eight separate font files, two families in four styles each, totaling several hundred kilobytes, and readers on mobile see text jump as fonts arrive.

The team switches to one variable font for headlines and body text, subset to the Latin characters the paper needs, served as WOFF2. They set a fallback system font with closely matched metrics and confirm that the license covers web use at the paper’s traffic level.

The new pages download far less font data, text appears immediately in the fallback and then switches with barely visible movement, and the editorial team gains intermediate weights for headlines without extra files.