Use Inter as the interface font #52

Merged
nessar merged 2 commits from feat/inter-font into main 2026-11-19 22:16:31 +01:00
Owner

Changes

  • Bundle Inter Variable and its SIL Open Font License.
  • Set Inter as the UI font in light and dark mode. Use the family name that DirectWrite exposes for the text optical size.
  • Add a regression test that checks DirectWrite resolves regular and semibold Inter in both themes.

Verification

  • Windows compile check for the app and tests passed.
  • Off-screen Windows renders confirmed Inter in both themes. The champion table was legible at 1280 × 860.
  • At 380 × 216 the table is outside the visible area with either font. Inter also truncates the search placeholder at that size.
## Changes - Bundle Inter Variable and its SIL Open Font License. - Set Inter as the UI font in light and dark mode. Use the family name that DirectWrite exposes for the text optical size. - Add a regression test that checks DirectWrite resolves regular and semibold Inter in both themes. ## Verification - Windows compile check for the app and tests passed. - Off-screen Windows renders confirmed Inter in both themes. The champion table was legible at 1280 × 860. - At 380 × 216 the table is outside the visible area with either font. Inter also truncates the search placeholder at that size.
nessar added 1 commit 2026-11-19 21:56:34 +01:00
Use Inter as the interface font
CI / core (pull_request) Successful in 40s
1016b68e41
nessar added 1 commit 2026-11-19 22:10:15 +01:00
Address Inter font review findings (#52)
CI / core (pull_request) Successful in 38s
CI / core (push) Successful in 1m14s
650dfd4bfa
- Set Inter only when DirectWrite resolves its family, so a name
  mismatch keeps the system font instead of a fallback on every run.
- Rename init to init_theme and share the family name as a constant.
- Make the test prove a semibold face: its glyphs are wider.
- Ship the license from the same Inter release as the font.
- Shorten the search placeholder so it fits at the minimum width.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
nessar merged commit 650dfd4bfa into main 2026-11-19 22:16:31 +01:00
nessar deleted branch feat/inter-font 2026-11-19 22:16:31 +01:00
Sign in to join this conversation.