mirror of
https://github.com/opentx/opentx.git
synced 2025-07-24 16:55:20 +03:00
[Horus] Bold font added
This commit is contained in:
parent
e3d70817ea
commit
31fa16bf87
15 changed files with 43 additions and 35 deletions
|
@ -89,11 +89,9 @@ def createFontBitmap(filename, fontname, fontsize, fontbold, foreground, backgro
|
|||
image.save(filename + ".png")
|
||||
if coordsfile:
|
||||
with open(filename + ".specs", "w") as f:
|
||||
f.write("{ ")
|
||||
f.write(",".join(str(tmp) for tmp in coords))
|
||||
for i in range(1, 14):
|
||||
f.write(", %d" % (int(coords[-1]) + i * (extraWidth / 12)))
|
||||
f.write(" }")
|
||||
return coords
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue