mirror of
https://github.com/opentx/opentx.git
synced 2025-07-24 16:55:20 +03:00
Font cosmetics
This commit is contained in:
parent
2589b9e87e
commit
9262a317b6
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue