From 0e40e5965fe89fdd8d04c660ae29c618b52e3846 Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Fri, 13 Dec 2019 12:01:49 +0100 Subject: [PATCH] Font cosmetics --- tools/build-font-bitmap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/build-font-bitmap.py b/tools/build-font-bitmap.py index febe2b936..1f1c0a1d8 100755 --- a/tools/build-font-bitmap.py +++ b/tools/build-font-bitmap.py @@ -46,7 +46,7 @@ class FontBitmap: @staticmethod def is_column_needed(px, x, height): for y in range(height): - if sum(px[x, y]) <= 3 * 0xC6: + if px[x, y] != (255, 255, 255): return True return False