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