1
0
Fork 0
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:
Bertrand Songis 2016-03-24 21:41:43 +01:00
parent e3d70817ea
commit 31fa16bf87
15 changed files with 43 additions and 35 deletions

View file

@ -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__":