fix(main.rs): switch back to MonoTextStyle for non feature (#6)

This commit is contained in:
Valentin Weber 2025-07-08 20:19:13 +02:00 committed by GitHub
parent 37b7a7d96e
commit 6e25fbb266
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -171,8 +171,8 @@ fn generate_payload(args: &mut Args) -> Result<PayloadBuffer> {
#[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")]