Shrink fonts

This commit is contained in:
Raphael Coeffic
2021-05-21 22:33:01 +02:00
committed by Raphael Coeffic
parent c0198a19a3
commit a33b114ae4
5 changed files with 36 additions and 13 deletions
+1
View File
@@ -123,6 +123,7 @@ class FontBitmap:
image = image.crop((0, top, width - 1, bottom))
coords.insert(0, bottom - top + 1)
image = image.convert("L")
image.save(filename + ".png")
if generate_coords_file:
with open(filename + ".specs", "w") as f: