1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-13 11:29:51 +03:00

Cosmetics

This commit is contained in:
Bertrand Songis 2019-12-09 16:37:45 +01:00
parent 45a75c1c2b
commit e2939aae82
No known key found for this signature in database
GPG key ID: F189F79290FEC50F
4 changed files with 18 additions and 23 deletions

View file

@ -102,7 +102,7 @@ class FontBitmap:
offset = self.font_size % 2
image.paste(self.extra_bitmap.copy(), (width, offset))
elif c == " ":
pass
width += 4
elif c in special_chars["cn"]:
width += self.draw_char(image, width, c, self.cjk_font)
else: