Browser WASM UI vs Python CLI
FontTo vs pyftsubset (fontTools)
Python fontTools and pyftsubset power automated backend build pipelines, while FontTo runs the same HarfBuzz subsetting engine inside a zero-install browser UI with live Missing-Character Radar and Anti-CLS CSS.
Quick Answer
Choose FontTo when you want zero-install HarfBuzz subsetting in the browser with live glyph previews, Missing-Character Radar, CJK unicode-range ZIP packaging, and Ghost Overlay Anti-CLS CSS; choose pyftsubset for headless CI/CD pipelines where Python and brotli are already scripted.
Architecture & Workflow Comparison
| Capability | FontTo (Browser WASM) | pyftsubset (fontTools) |
|---|---|---|
| Setup & Runtime | Zero install — runs in browser RAM | Requires Python + pip install fonttools brotli |
| Missing-Glyph Check | Live Missing-Character Radar before export | Requires manual script or cmap inspection |
| CJK & Variable Splitting | 1-click unicode-range ZIP + axis UI sliders | Manual --unicodes and --flavor=woff2 flags |
| CSS & Anti-CLS Output | Ghost Overlay size-adjust + preload + @font-face | Outputs font binary only (no CSS) |
| Best Workflow Fit | Interactive design, QA & fast web shipping | Headless CI/CD & automated build scripts |
When to choose FontTo
- Subsetting TTF, OTF, WOFF2, or Variable fonts immediately without installing Python or pip dependencies.
- Validating copy with the live Missing-Character Radar so punctuation and currency glyphs are never dropped silently.
- Generating ready-to-paste @font-face, CJK unicode-range result.css, and Ghost Overlay Anti-CLS CSS in one click.
- Handing outputs directly into local TTC unpacking, metadata editing, or WOFF2 conversion in browser RAM.
When pyftsubset (fontTools) fits
- Running reproducible headless CI/CD pipelines or GitHub Actions that rebuild font subsets automatically on commit.
- Writing custom Python scripts for deep OpenType table patching across hundreds of repository assets.
Recommended Local Tools
Related Engineering Guides
- Variable Fonts: Static Weight Instancing vs. Trimming Axis RangesUse HarfBuzz WASM in your browser to pin Variable Font axes (wght/wdth) into lightweight static weights or trim axis spans without Python fonttools.
- How to Shrink 15 MB CJK Fonts to 60 KB via Subsetting & unicode-range SplittingCut 15–25 MB Chinese, Japanese, and Korean fonts down to 58 KB subsets or auto-split into CSS unicode-range WOFF2 chunks locally without 5 MB caps.
- Optimizing & Subsetting Fonts for Kindle, Kobo & EPUB 3 E-BooksShrink bloated 15 MB CJK or literary fonts into compact TTF/WOFF files for Kindle and EPUB 3 packages without breaking punctuation or italics.
Frequently Asked Questions
Does FontTo use HarfBuzz like modern fontTools workflows?
Yes. FontTo executes HarfBuzz hb-subset.wasm and Google WOFF2 WASM inside dedicated local Web Workers, preserving GSUB and GPOS layout tables.
Can FontTo subset Variable Fonts without installing Python?
Yes. You can trim weight/width axis spans or pin static instances interactively in the browser with zero Python setup.
Should teams still use pyftsubset in CI pipelines?
Yes — pyftsubset excels in automated backend build scripts, while FontTo is faster for visual glyph verification, ad-hoc subsets, and Anti-CLS CSS.