From 40fb9a1f6bdd4af65975a8adce3712d8581e9ae5 Mon Sep 17 00:00:00 2001 From: Mike Dilger Date: Thu, 19 Jan 2023 11:26:11 +1300 Subject: [PATCH] Better font alignment --- src/ui/style.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/style.rs b/src/ui/style.rs index e2df5c5b..8db25ed1 100644 --- a/src/ui/style.rs +++ b/src/ui/style.rs @@ -140,7 +140,7 @@ pub(super) fn font_definitions() -> FontDefinitions { FontData::from_static(include_bytes!("../../fonts/Inconsolata-Regular.ttf")).tweak( FontTweak { scale: 1.22, // This font is smaller than DejaVuSans - y_offset_factor: -0.21, // and too low + y_offset_factor: -0.18, // and too low y_offset: 0.0, }, ),