From 1ca885beadfc8ed5c75841df31bd134509399471 Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Thu, 19 Sep 2024 08:53:46 +0200 Subject: [PATCH] Remove y-offset from emoji fonts --- crates/epaint/src/text/fonts.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/crates/epaint/src/text/fonts.rs b/crates/epaint/src/text/fonts.rs index 1fca79049..1a38619ee 100644 --- a/crates/epaint/src/text/fonts.rs +++ b/crates/epaint/src/text/fonts.rs @@ -278,7 +278,6 @@ impl Default for FontDefinitions { "NotoEmoji-Regular".to_owned(), FontData::from_static(NOTO_EMOJI_REGULAR).tweak(FontTweak { scale: 0.81, // Make smaller - y_offset_factor: -0.120, // Move up ..Default::default() }), ); @@ -293,7 +292,6 @@ impl Default for FontDefinitions { "emoji-icon-font".to_owned(), FontData::from_static(EMOJI_ICON).tweak(FontTweak { scale: 0.90, // Make smaller - y_offset_factor: 0.09, // Move down ..Default::default() }), );