1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-30 21:30:03 -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

@@ -6,7 +6,7 @@ description = "Default fonts for use in epaint / egui"
edition.workspace = true
rust-version.workspace = true
homepage = "https://github.com/emilk/egui/tree/main/crates/epaint_default_fonts"
license = "(MIT OR Apache-2.0) AND OFL-1.1 AND Ubuntu-font-1.0" # OFL and UFL are from the font files themselves.
license = "(MIT OR Apache-2.0) AND OFL-1.1" # OFL is from the font files themselves.
readme = "README.md"
repository = "https://github.com/emilk/egui/tree/main/crates/epaint_default_fonts"
categories = ["graphics", "gui"]
@@ -19,7 +19,7 @@ include = [
"fonts/*.ttf",
"fonts/*.txt",
"fonts/OFL.txt",
"fonts/UFL.txt",
"fonts/AlbertSans-OFL.txt",
]
[lints]