mirror of
https://github.com/fossasia/badgemagic-rs
synced 2025-07-15 17:13:59 +00:00
fix(main.rs): switch back to MonoTextStyle for non feature (#6)
This commit is contained in:
parent
37b7a7d96e
commit
6e25fbb266
1 changed files with 2 additions and 2 deletions
|
@ -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")]
|
||||
|
|
Loading…
Reference in a new issue