Web Font Subsetting & Performance Optimization
Complete Unicode font files (like Inter, Roboto, or Noto Sans) often contain over 2,000 glyphs covering Cyrillic, Greek, Hebrew, and thousands of obscure typographic symbols. These files can easily weigh 300KB to 1MB. For an English or Western European website, over 85% of those glyphs are never rendered.
How unicode-range Improves Core Web Vitals
- Targeted Downloading: Browsers that support CSS
unicode-rangewill only download a font file if characters on the active page fall within that declared range. - Eliminating FOIT / FOUT: Smaller font payloads (e.g. 25KB vs 350KB) download in milliseconds over mobile connections, eliminating Flash of Invisible Text (FOIT) and reducing Largest Contentful Paint (LCP).