1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-29 12:50:04 -04:00

Switch the default egui font to Albert Sans

Follows the same approach as #8261: replaces Ubuntu-Light with a
variable font hinted via ttfautohint, updates fallback references,
loosens a couple of tests that hard-coded font-specific pixel values,
and regenerates all visual snapshots.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Emil Ernerfeldt
2026-08-22 11:56:29 +02:00
parent 97603fc082
commit 08186f15d3
207 changed files with 525 additions and 551 deletions

View File

@@ -59,7 +59,7 @@
transform: translate(-50%, -50%);
color: #f0f0f0;
font-size: 24px;
font-family: Ubuntu-Light, Helvetica, sans-serif;
font-family: "Albert Sans", Helvetica, sans-serif;
text-align: center;
}

View File

@@ -51,7 +51,7 @@
transform: translate(-50%, -50%);
color: #f0f0f0;
font-size: 24px;
font-family: Ubuntu-Light, Helvetica, sans-serif;
font-family: "Albert Sans", Helvetica, sans-serif;
text-align: center;
}