From 6e25fbb266f00e6994518964ad0346021488ab0d Mon Sep 17 00:00:00 2001 From: Valentin Weber Date: Tue, 8 Jul 2025 20:19:13 +0200 Subject: [PATCH] fix(main.rs): switch back to MonoTextStyle for non feature (#6) --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 0c4815d..09eec56 100644 --- a/src/main.rs +++ b/src/main.rs @@ -171,8 +171,8 @@ fn generate_payload(args: &mut Args) -> Result { #[cfg(not(any(feature = "u8g2-fonts")))] let text = Text::new( &text, - Point::new(0, 8), - U8g2TextStyle::new(u8g2_font_lucasfont_alternate_tf, BinaryColor::On), + Point::new(0, 7), + MonoTextStyle::new(&FONT_6X9, BinaryColor::On), ); #[cfg(feature = "u8g2-fonts")]