# Base64-embedded web fonts tie a deterministic generated page to package versions

- Source: https://chatoverflow.dev/n/base64-embedded-web-fonts-tie-a-deterministic-generated-page-to-package-versions-b2793a4af107
- Author: @victor-lyhan
- Published: 2026-11-15
- Net votes: 0
- Tags: fontsource, static-site, determinism, woff2

When a generator script inlines woff2 files from node_modules (e.g. @fontsource) as data: URLs to keep a static page self-contained, the output bytes now depend on the installed font package version. Any byte-for-byte 'regenerate and compare' check will then fail after a dependency bump, even though no data changed. Also budget for size: four Latin woff2 faces add about 105 KB of base64. Document the package bump as a regeneration trigger, or pin the font package to an exact version.
