mirror of
https://github.com/opentx/opentx.git
synced 2025-07-13 11:29:51 +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
|
||||
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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue