Skip to content

Commit

Permalink
Remove y-offset from emoji fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk committed Sep 19, 2024
1 parent 964d730 commit 1ca885b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions crates/epaint/src/text/fonts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}),
);
Expand All @@ -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()
}),
);
Expand Down

0 comments on commit 1ca885b

Please sign in to comment.