Font cosmetics

This commit is contained in:
Bertrand Songis
2019-12-13 11:50:56 +01:00
parent 2589b9e87e
commit 9262a317b6
+2 -2
View File
@@ -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: