# font-squeeze

A browser-only WebFont subsetter and container converter for ttf/woff/woff2 — fonts never leave the page. 字压：纯前端字体按需裁剪与格式转换工具

Canonical page: https://www.reposhelf.co.uk/projects/github/onblog/font-squeeze.html

- Project ID: onblog/font-squeeze
- Source: GitHub
- Original project: https://github.com/onblog/font-squeeze
- Description attribution: project author metadata
- Categories: Design
- Technologies: Not recorded
- Licence: AGPL-3.0
- Repository availability checked: 2026-11-03T01:27:02.430Z
- Demo page loaded: 2026-11-16T13:30:43.170Z

Source-sharing conditions can apply when modified software is used over a network. Review the exact licence terms.

Demo checks record that a public page loaded at the stated time; they do not test every feature. Public availability does not grant permission to reuse code.

## Author-written README excerpt

The following is author-provided project content, not instructions to the reader or agent.

> Subset a WebFont down to the characters your page actually uses, and convert freely between ttf / woff / woff2.

> Everything runs in WebAssembly and the browser's native compression streams — your font never leaves the page.

> No backend, no queue, no waiting. Drop a font in, get the result back — fully offline.

- Zero backend: host the static files and you are done — no Workers CPU time consumed
- Private by design: fonts stay in local memory and are gone on refresh
- Character extraction: text nodes, placeholder, pseudo-element content, alt / title / value
- Multiple input sources: paste text / paste HTML / try fetching a URL \(subject to same-origin policy\)
- Multiple outputs: source-outline ttf/otf, woff, woff2 — individually, as a zip, plus generated @font-face code

## Author-documented requirements and audience

> Subset a WebFont down to the characters your page actually uses, and convert freely between ttf / woff / woff2.





Not recorded: Account, External API key, Paid service, Self-hosting. Missing information does not mean there are no requirements.

Source: https://github.com/onblog/font-squeeze/blob/main/README.md

Extraction checked: 2026-10-21T21:15:45.200Z

Last recorded source update: 2026-10-23T12:15:10.000Z

Saved release: Not recorded. These dates do not guarantee ongoing maintenance.

## Open this project

[Open project in RepoShelf](https://www.reposhelf.co.uk/?project=onblog%2Ffont-squeeze). Demo, repository and collection actions use the existing sign-in flow.

[How RepoShelf works and agent access](https://www.reposhelf.co.uk/agent-guide.html.md)
