From 6b9d599eecf299a2176aefdb1cc1c48daddae575 Mon Sep 17 00:00:00 2001 From: Tim Walter Date: Thu, 9 Oct 2025 22:31:17 -0400 Subject: [PATCH] draw_text8x8: Fix off-by-one --- ssd1309.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssd1309.py b/ssd1309.py index 4fd2c62..4826fa4 100644 --- a/ssd1309.py +++ b/ssd1309.py @@ -540,7 +540,7 @@ def draw_text8x8(self, x, y, text): text (string): Text to draw. """ # Confirm coordinates in boundary - if self.is_off_grid(x, y, x + 8, y + 8): + if self.is_off_grid(x, y, x + 7, y + 7): return self.monoFB.text(text, x, y)