From 530e1770f1a5e56b4dd066aac3c656dc8673a73d Mon Sep 17 00:00:00 2001 From: sawyer bristol Date: Mon, 30 Jun 2025 19:20:30 -0600 Subject: [PATCH] fix font size --- shared/src/lib.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/shared/src/lib.rs b/shared/src/lib.rs index ba4f420..197ba31 100644 --- a/shared/src/lib.rs +++ b/shared/src/lib.rs @@ -3,7 +3,10 @@ pub mod screen { use embedded_graphics::{ Drawable, draw_target::DrawTarget, - mono_font::{MonoTextStyle, ascii::FONT_10X20}, + mono_font::{ + MonoTextStyle, + ascii::{FONT_6X10, FONT_9X15, FONT_10X20}, + }, pixelcolor::Rgb565, prelude::{Point, RgbColor, Size}, primitives::Rectangle, @@ -37,7 +40,7 @@ pub mod screen { } pub fn draw_status_bar>(&mut self, target: &mut D) { - let text_style = MonoTextStyle::new(&FONT_10X20, Rgb565::WHITE); + let text_style = MonoTextStyle::new(&FONT_9X15, Rgb565::WHITE); let status_bar = Rectangle::new( Point::new(0, 0),