Shrink fonts
This commit is contained in:
committed by
Raphael Coeffic
parent
c0198a19a3
commit
a33b114ae4
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user