Document font substitution, measured.
docfonts publishes @docfonts/fallbacks, a small runtime package for document renderers.
It maps common proprietary document fonts to reviewed open-font fallback decisions. It ships no font binaries and no proprietary data.
Built by the team behind SuperDoc. Standalone and neutral.
packages/fallbacks- runtime fallback decisions and lookup helpers.tools/corpus- local source acquisition and comparison tools.
- Runtime: install
@docfonts/fallbacksand call the lookup helpers. - Acquire: run
bun run corpus:acquireto download open-font sources into an ignored local cache. - Compare: run
bun run corpus:compareto rank acquired open fonts against a licensed local reference. Results stay local unless deliberately published through a curated product surface.
npm install @docfonts/fallbacksbun install
bun run typecheck
bun run test
bun run lint
bun run build@docfonts/fallbacks is released by the release-fallbacks workflow on every push to main.
semantic-release publishes a new version when the merged commits contain a releasable Conventional Commit.
The same workflow can still run manually as a dry run.