From 12811b854281e815478fec3f0d75a68d1ffd26e2 Mon Sep 17 00:00:00 2001 From: Brian Cappello Date: Thu, 29 Jun 2017 11:22:02 -0400 Subject: [PATCH] do not display debug output while running font_to_py --- font_to_py.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/font_to_py.py b/font_to_py.py index 4c05f07..8c2d655 100755 --- a/font_to_py.py +++ b/font_to_py.py @@ -453,7 +453,6 @@ class Font(dict): def stream_char(self, char, hmap, reverse): bitmap, _, _ = self[char] - bitmap.display() if hmap: gen = bitmap.get_hbyte(reverse) else: @@ -465,10 +464,8 @@ class Font(dict): index = bytearray((0, 0)) for char in self.charset: bitmap, width, char_width = self[char] - bitmap.display() data += byte(1 if bitmap.is_char_lhmap() else 0) data += byte(width) - # data += byte_pair(width) for b in bitmap.stream(): data += b index += byte_pair(len(data))