Remove Font Hinting Bytecode Locally
No 5 MB capmacOS, iOS, Android, and modern HiDPI screens ignore TrueType grid-fitting bytecode. Strip fpgm, prep, and cvt hinting tables cleanly with HarfBuzz WASM to shrink web fonts 8%–15%.
.ttf · .otf · .woff · .woff2
- Saves 8%–15% bytes
- Retains GIDs & kerning
- Crisp on Retina / HiDPI
Benchmark & Expected Output
112 KB → 44 KB (-60.7%)Before (Input)
Hinted TTF · inter-regular.ttf (112 KB)
After (Output)
Unhinted WOFF2 · inter-regular.unhinted.woff2 with fpgm/prep/cvt tables stripped
How it works
How to use Remove Font Hinting locally in your browser
Strip legacy TrueType bytecode hinting (fpgm/prep/cvt) via HarfBuzz NO_HINTING to save 8–15% for Retina screens.
Load hinted font
Drop your TTF, OTF, WOFF, or WOFF2 font file.
Choose GID & layout retention
Retain Glyph IDs (GIDs) and OpenType layout tables while dropping hinting bytecode.
Export unhinted WOFF2
Download a cleaner, lighter font file ready for modern screens.
FAQ
Frequently asked questions
Does removing hinting blur fonts on macOS or mobile?
No. Apple CoreText, iOS, Android, and modern browsers disregard TrueType bytecode hinting completely.
How much smaller is an unhinted font?
Removing hinting instructions typically saves 8%–15% on hinted Latin fonts and up to 20% on autohinted CJK fonts.
What does 'Retain Glyph IDs (GIDs)' do?
It keeps glyph slot indices stable alongside stripping fpgm/prep/cvt tables.
Format specs
Next step