Mr. Harun’s three letterings on the news page: set each @font-face’s font-display, move the time, and see the heading invisible, in the fallback or the web…
Why it matters
Web fonts come over the network, and while waiting the browser must choose: hide the text (a blank page), show a fallback and swap later (text jumps, CLS goes up), or let the font go. font-display chooses per font, and icon, heading and body fonts need different choices.
The key idea
Each value only sets two clocks: when to stop hiding, and when to stop waiting
Common mistakes
A blank page for a few seconds on first open The default (auto) in most browsers = block: text is hidden for up to 3 seconds on a slow connection. For content text use swap or fallback so it is always readable. And write it in @font-face, not in an element rule.
Text flashes into another font right after the page opensswap causes a layout shift when the fallback is swapped for the web font (CLS goes up). Shrink it with a fallback of similar metrics (size-adjust, ascent-override on the fallback @font-face), or optional for a font you can do without.
Set optional and wonder why the web font never shows That is the design: if the font is not there within ~100 ms, optional drops it for this visit to avoid any jump (it usually shows on the next visit, from cache). Use it only for "nice to have" fonts, not your brand identity.
Try it in this playground
Pick "Default (auto) on 3G", move the time past 1 second The heading and article are still invisible: a 3-second block period. That is the blank page visitors see on a slow connection.
Pick "swap on 3G: flash & jump", step to the moment the heading font arrives The fallback shows first, then it is swapped: the "Read next" card jumps by what the two real fonts measure.
Watch the order button while Ikon is swapped An icon font that has not arrived shows as the word "shopping_cart". For an icon font, block is the right call.
Pick "optional on 3G", move to the end The file still arrives, but it is dropped: its swap period is zero. Zero jumps; the custom font is only used on the next visit (from cache).