use system font DejaVuSans

This commit is contained in:
2025-08-06 01:33:30 +02:00
parent 2f0db251b1
commit c203bfd1bb
2 changed files with 3 additions and 1 deletions

Binary file not shown.

View File

@@ -120,7 +120,9 @@ fn setup_custom_fonts(ctx: &egui::Context) {
fonts.font_data.insert(
"custom".to_string(),
FontData::from_owned(
std::fs::read("DejaVuSans.ttf").expect("Failed to load font"),
std::fs::read("/usr/share/fonts/TTF/DejaVuSans.ttf").expect("Failed to load font"),
).into(),
);