From 148c11d9e5e9937425ac883c3da52d7aad673d97 Mon Sep 17 00:00:00 2001 From: tychovrahe Date: Mon, 3 Feb 2025 12:12:42 +0100 Subject: [PATCH] fix(core/prodtest): fix text rendering --- core/embed/gfx/gfx_draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/embed/gfx/gfx_draw.c b/core/embed/gfx/gfx_draw.c index a053e2d1f2..29352d0bc3 100644 --- a/core/embed/gfx/gfx_draw.c +++ b/core/embed/gfx/gfx_draw.c @@ -176,7 +176,7 @@ void gfx_draw_bitmap(gfx_rect_t rect, const gfx_bitmap_t* bitmap) { #if TREZOR_FONT_BPP == 1 #define GLYPH_FORMAT GFX_FORMAT_MONO1P -#define GLYPH_STRIDE(w) (((w) + 7) / 8) +#define GLYPH_STRIDE(w) (w) #elif TREZOR_FONT_BPP == 2 #error Unsupported TREZOR_FONT_BPP value #define GLYPH_FORMAT GFX_FORMAT_MONO2