Vector
June 09, 2024·6 min read

Web Font Subsetting and Image-Free Icon Systems

Using Unicode Private Use Area glyphs and font subsetting to eliminate icon image requests.

ER

Elena Rostova

Contributing Author · Squoosh Next Blog

Icon fonts encode vector icon shapes as glyphs mapped to Unicode Private Use Area codepoints (U+E000 to U+F8FF), rendering them with CSS font-family and Unicode character entities. The advantage is infinite scalability, single-color CSS colorability, and zero image requests. The disadvantage is accessibility: icon font characters are read by screen readers as empty or with incorrect Unicode descriptions unless explicitly hidden with aria-hidden.

Font subsetting reduces the font file size by removing unused glyphs — a full Material Icons font is 1.2MB while a subset containing only the 20 icons used on a page may be under 5KB. The pyftsubset utility and the font-spider npm package both automate subsetting. For new projects, inline SVG icons are preferred over icon fonts because they support multi-color fills, ARIA labels, and are not affected by user font size preferences or system font overrides.

Key Takeaways
  • Icon fonts encode vector icon shapes as glyphs mapped to Unicode Private Use Area codepoints (U+E000 to U+F8FF), rendering them with CSS font-family and Unicode character entities.

  • The advantage is infinite scalability, single-color CSS colorability, and zero image requests.

  • The disadvantage is accessibility: icon font characters are read by screen readers as empty or with incorrect Unicode descriptions unless explicitly hidden with aria-hidden.

  • Font subsetting reduces the font file size by removing unused glyphs — a full Material Icons font is 1.

Try It in the Workspace

Everything discussed in this article can be tested directly in Squoosh Next — no sign-up, no upload, 100% client-side.

More in Vector
Vector Optimization: Streamlining SVGs for Web
March 29, 2026 · 5 min read
SVG Animation Performance Tips
November 02, 2025 · 7 min read
CSS Art: Creating Images Without Raster Files
September 01, 2024 · 7 min read
Squoosh Next

Professional client-side image compression and format optimization tool. Compress, convert, and adjust 100+ formats instantly without server uploads.


© 2026 Squoosh Next. Developed & Maintained by Naushad Alam | Zest Tech Solution | Powered by Vercel.Contact: Naushad Alam | WhatsApp: 7492068998 | Email: contact@zestcommerce.in | Web: zesttechsolution.cloud
Security EncryptedNo Uploads
Operational
v2.1.0Commit: d05d63e
0s
Build Info
Environment: productionBranch: masterBuild Time: 25s
Deployment
Deployed: 7/13/2026, 1:26:17 AMUptime: 0sPlatform: Vercel
Performance
Response: 0msStatus: OnlineSSL: Active
Technology
Next.js: 16.2.9React: 19.0.0TypeScript: 5.0