From 9262a317b677155a290957a0d938f2d6f9700efb Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Fri, 13 Dec 2019 11:50:56 +0100 Subject: [PATCH] Font cosmetics --- tools/build-font-bitmap.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/build-font-bitmap.py b/tools/build-font-bitmap.py index 804028129..4829d3b40 100755 --- a/tools/build-font-bitmap.py +++ b/tools/build-font-bitmap.py @@ -113,8 +113,8 @@ class FontBitmap: width += coord coords.append(width) - image = image.crop((0, top, width, bottom)) - coords.insert(0, bottom - top) + image = image.crop((0, top, width, bottom + 1)) + coords.insert(0, bottom - top + 1) image.save(filename + ".png") if generate_coords_file: