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.

Updated:

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

CapabilityFontTo (Browser WASM)pyftsubset (fontTools)
Setup & RuntimeZero install — runs in browser RAMRequires Python + pip install fonttools brotli
Missing-Glyph CheckLive Missing-Character Radar before exportRequires manual script or cmap inspection
CJK & Variable Splitting1-click unicode-range ZIP + axis UI slidersManual --unicodes and --flavor=woff2 flags
CSS & Anti-CLS OutputGhost Overlay size-adjust + preload + @font-faceOutputs font binary only (no CSS)
Best Workflow FitInteractive design, QA & fast web shippingHeadless 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

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.

Related Comparisons