Skip to content

feat(font-system): bundle TeX Gyre Bonum fallback#3703

Open
caio-pizzol wants to merge 4 commits into
mainfrom
caio-pizzol/docfonts-bonum-batch
Open

feat(font-system): bundle TeX Gyre Bonum fallback#3703
caio-pizzol wants to merge 4 commits into
mainfrom
caio-pizzol/docfonts-bonum-batch

Conversation

@caio-pizzol

Copy link
Copy Markdown
Contributor

Bundles TeX Gyre Bonum so Bookman Old Style can resolve to the reviewed DocFonts fallback once the stacked OFL batch lands. This is isolated because it adds the GUST Font License surface and the four Bonum faces.

Why:

  • Bookman Old Style is a visually accepted fallback in DocFonts.
  • All four Bonum faces are real faces, so no synthetic face handling is needed for this row.
  • The asset-gate test now proves the gate directly by denying this bundled family through canRenderFamily.

Verified:

  • pnpm --filter @superdoc/font-system test src/substitution-evidence.test.ts
  • pnpm --filter @superdoc/super-editor test src/ui/react/hooks.test.tsx
  • pnpm check:font-licenses
  • pnpm --filter @superdoc/font-system typecheck
  • pnpm --filter @superdoc/font-system build

Stacked on caio-pizzol/docfonts-ofl-batch-3.

@caio-pizzol caio-pizzol marked this pull request as ready for review June 10, 2026 13:33
@caio-pizzol caio-pizzol requested a review from a team as a code owner June 10, 2026 13:33
Base automatically changed from caio-pizzol/docfonts-ofl-batch-3 to main June 10, 2026 13:34
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants