font subset
A cut-down font file containing only the characters for certain languages, such as Latin.
In more detail
A full font may contain thousands of characters for many scripts, but a page usually needs only a few hundred. Serving only the needed subsets, selected with unicode-range, makes font files much smaller.
Example
next/font asks you to choose subsets such as latin and preloads them.Related terms
- next/font — The Next.js font module, which downloads fonts at build time, serves them from your own domain and sets up fallbacks that avoid layout shift.
- web font — A font file downloaded by the page, declared with @font-face, instead of one already installed on the user's device.
Taught in
- Image & Font Optimization: Zero Layout Shift Assets — Next.js 15 & Modern App Router Architecture