Subfont Versions Save

Command line tool to optimize your webfont loading. Aggressive subsetting based on your font use, self-hosting of Google fonts and preloading

v4.0.2

4 years ago

This release replaces the very slim JS preload polyfill with a slightly larger one. This ensures that bundlers don't cause accidental overloading of unused variants by moving around the order of font-face declaration stylesheets.

Also fixed problem with subfont exiting if it encountered a page with no actively used font variants.

v3.4.0

5 years ago

v2.0.0

6 years ago

Breaking changes:

  • Removed --format option. Subfont now automatically generates woff2 and woff files
  • Switched font-display default value from auto to swap
  • Renamed --inline-subsets option to --inline-fonts

Features:

  • Added --[no-]recursive option (@papandreou)
  • Added ability to subset locally with fonttools. Allows working with non-google fonts #3 #1
  • Warn when glyphs are missing in original font #13
  • Preload fonts with Javascript for browsers without preload support #5
  • Output both woff2 and woff formats #4

Patches:

  • Don't break when encountering existing preload hints for fonts

v1.1.0

6 years ago
  • [minor] Added --inline-css option
  • [minor] Added --font-display option
  • [patch] Fixed missing preload hint attributes