Skip to content

fix(ui): self-host Google Fonts to eliminate third-party dependency#6326

Merged
brancz merged 2 commits intomainfrom
selfhost-google-fonts
Apr 15, 2026
Merged

fix(ui): self-host Google Fonts to eliminate third-party dependency#6326
brancz merged 2 commits intomainfrom
selfhost-google-fonts

Conversation

@yomete
Copy link
Copy Markdown
Contributor

@yomete yomete commented Apr 13, 2026

Replaces the runtime @import of Google Fonts with self-hosted woff2 files served from public/fonts/.

Relates to #6292

Replace the runtime @import of Google Fonts with self-hosted woff2 files
served from public/fonts/. This removes the external network dependency
and prevents leaking client metadata (IP, user-agent, referrer) to
third-party origins, improving CSP compatibility and privacy.

- Bundle Poppins (weights 100-600) and Roboto Mono (400) as woff2
- Add @font-face declarations pointing to local files
- Remove the Google Fonts @import
- Include OFL license file for bundled fonts

Relates to #6292

Signed-off-by: Yomi <yomi@users.noreply.github.com>
@alwaysmeticulous
Copy link
Copy Markdown

alwaysmeticulous bot commented Apr 13, 2026

✅ Meticulous spotted visual differences in 5 of 274 screens tested, but all differences have already been approved: view differences detected.

Meticulous evaluated ~5 hours of user flows against your PR.

Last updated for commit ead1c90 Merge branch 'main' into selfhost-google-fonts. This comment will update as new commits are pushed.

@yomete yomete marked this pull request as ready for review April 15, 2026 07:25
@yomete yomete requested a review from a team as a code owner April 15, 2026 07:25
@brancz
Copy link
Copy Markdown
Member

brancz commented Apr 15, 2026

Nice

@brancz brancz merged commit b03ea62 into main Apr 15, 2026
35 checks passed
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.

2 participants