From bc0b56201214f972a74f38fc61d62319c201c04c Mon Sep 17 00:00:00 2001 From: Lukas Bielesch Date: Fri, 4 Apr 2025 12:40:44 +0200 Subject: [PATCH] chore(eckhart): remove line ending hyphens from mono fonts --- core/embed/rust/src/ui/layout_eckhart/theme/firmware.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/embed/rust/src/ui/layout_eckhart/theme/firmware.rs b/core/embed/rust/src/ui/layout_eckhart/theme/firmware.rs index d9968e97d2..834912b272 100644 --- a/core/embed/rust/src/ui/layout_eckhart/theme/firmware.rs +++ b/core/embed/rust/src/ui/layout_eckhart/theme/firmware.rs @@ -64,7 +64,8 @@ pub const TEXT_MONO_MEDIUM: TextStyle = TextStyle::new( BG, GREY_EXTRA_LIGHT, GREY_EXTRA_LIGHT, -); +) +.with_line_breaking(LineBreaking::BreakWordsNoHyphen); pub const TEXT_MONO_MEDIUM_LIGHT: TextStyle = TextStyle::new( fonts::FONT_MONO_MEDIUM_38,