Skip to content

Fix: bundle Inter so identity labels fit in every environment (#79) - #80

Merged
DavidVFitzGerald merged 3 commits into
mainfrom
fix/79-bundled-font
Nov 15, 2026
Merged

DavidVFitzGerald merged 3 commits into
mainfrom
fix/79-bundled-font

Conversation

@DavidVFitzGerald

Copy link
Copy Markdown
Owner

Refs #79

Behavior

  • Bundles the unmodified official Inter v4.1 web/InterVariable.woff2 (rsms/inter release Inter-4.1.zip) with its SIL OFL 1.1 licence (OFL.txt, the release's LICENSE.txt) as a hashed same-origin Vite asset, declared in src/app/fonts.css (font-weight: 100 900, font-display: swap, no local(), no CDN). Provenance comment records version, URL and SHA-256.
    • InterVariable.woff2 SHA-256 693b77d4f32ee9b8bfc995589b5fad5e99adf2832738661f5402f9978429a8e3; Git blob 5a8d3e72… equals docs/font-files/InterVariable.woff2 at tag v4.1 (the release publishes no checksum, so the tag tree is the cross-check).
  • Retunes inner-column minima within the unchanged 410 px bound (sum unchanged at 352 px; 406.4 px with gaps/padding): Flow Name 56→40, Location 50→52, Process Name 50→51, Category 52→57, Subcategory 70→78. Labels unabbreviated; sizes/weights unchanged.
  • expectReadable now waits for document.fonts.ready; all existing conditions unchanged.
  • New e2e/fonts.spec.ts: Inter FontFace loaded in both projects, font requests same-origin .woff2, Chromium CDP CSS.getPlatformFontsForNode reports Inter Variable (custom font) for all 7 identity labels. Fails at 0a8bc4b.
  • package.json/lock, shell.css, CI and Dockerfiles untouched.

Checks

See the Engineering handoff on #79 for commands and results, including the hosted workflow_dispatch full-suite run.

Limitations

Mock-only evidence. Whichever of #77/#79 merges second must rebase and rerun the full suite (text metrics change).

🤖 Generated with Claude Code

DavidVFitzGerald and others added 3 commits November 15, 2026 18:02
…79)

Fails at 0a8bc4b: no Inter FontFace exists and Chromium renders the
labels with a system fallback (WenQuanYi Zen Hei locally).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Unmodified web/InterVariable.woff2 from the rsms/inter v4.1 release
(SHA-256 693b77d4...8429a8e3) with its OFL 1.1 licence, served as a
hashed Vite asset; no local(), CDN or npm dependency.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
#79)

Location 52, Category 57, Subcategory 78, Process Name 51 fit their
Inter labels; Flow Name drops to 40 (share 2 still widens it). The
minima sum is unchanged (352 px; 406.4 px with gaps and padding, within
the 410 px bound).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant