# Subfont: generate font subsets tailored to page content

Canonical source : [Subfont: generate font subsets tailored to page content](<https://sebastien.rigaux.be/en/tech-watch/links/subfont-generate-font-subsets-tailored-to-page-content>)

Subfont analyzes the characters actually used on a page and generates smaller font files. It also adds preload hints to shorten the critical path for text rendering.

- Selected on : 2025-02-25

- Entry updated : 2026-11-07T20:32:37+0000

- Format : Repository

- Source language : EN

Original resource : [Subfont: generate font subsets tailored to page content](<https://github.com/Munter/subfont>)

Tags : Font optimization · [Web Performance](<https://sebastien.rigaux.be/en/tech-watch/tags/web-performance>) · [CSS](<https://sebastien.rigaux.be/en/tech-watch/tags/css>)

Available versions : [Français](<https://sebastien.rigaux.be/veille/liens/subfont-generer-des-sous-ensembles-de-polices-adaptes-aux-pages>) · [English](<https://sebastien.rigaux.be/en/tech-watch/links/subfont-generate-font-subsets-tailored-to-page-content>)

[Back to tech watch](<https://sebastien.rigaux.be/en/tech-watch>)
