Font cosmetics
This commit is contained in:
@@ -113,8 +113,8 @@ class FontBitmap:
|
|||||||
width += coord
|
width += coord
|
||||||
coords.append(width)
|
coords.append(width)
|
||||||
|
|
||||||
image = image.crop((0, top, width, bottom))
|
image = image.crop((0, top, width, bottom + 1))
|
||||||
coords.insert(0, bottom - top)
|
coords.insert(0, bottom - top + 1)
|
||||||
|
|
||||||
image.save(filename + ".png")
|
image.save(filename + ".png")
|
||||||
if generate_coords_file:
|
if generate_coords_file:
|
||||||
|
|||||||
Reference in New Issue
Block a user