~/talk

Magically Optimising your fonts

Talkat Nuxt Nation 2024 · 2024-11-12..11-13· [web-performance, web-platform]
slides:none on file

Describes an automated pipeline that downloads fonts locally, computes Font metric overrides and injects CSS so fallbacks match web fonts, reducing CLS to near‑zero in tested pages. Uses capsize metrics, a bundler‑agnostic plugin model and two libraries Fontaine and unifont (lookup across Google, Fontsource, Fontshare, Bunny, Adobe) and integrates into Nuxt Fonts. No runtime cost, serves files from the site for privacy, supports variable fonts and requires explicit checks for provider terms and extra weights.

AI-written summary · about

  1. 0:00Introduction
  2. 1:45Web font challenges
  3. 5:38Core Web Vitals and font display
  4. 9:10Font optimization techniques
  5. 12:17Reducing layout shift
  6. 15:08Fontaine library
  7. 17:13Unifont management
  8. 19:20Next Fonts automation
  9. 22:10Next Fonts demo
  10. 25:46Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.