From 0d30f4cc736e09eab267e5c5ad26e45a15cd0e2e Mon Sep 17 00:00:00 2001 From: prayerie Date: Thu, 12 Feb 2026 16:50:56 +0000 Subject: [PATCH] font_pack.py: fix for fonts wider than 8px --- tools/font_pack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/font_pack.py b/tools/font_pack.py index 55bdc26..f71e71e 100644 --- a/tools/font_pack.py +++ b/tools/font_pack.py @@ -57,7 +57,7 @@ v = v | (1 << ix) if (ix + 1) > width: width = ix + 1 - for ix in range(0, font_width, 8): + for ix in range(0, font_width, font_width): fp.write(struct.pack("> ix) & 255)) if width == 0: width = space_width