Fix i in xxlsize

This commit is contained in:
3djc
2021-01-23 13:41:27 +01:00
parent 139392bc74
commit 3f9496bbd9
3 changed files with 3 additions and 0 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 81 KiB

After

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

+3
View File
@@ -80,6 +80,9 @@ def createFontBitmap(filename, fontname, fontsize, fontoffset, foreground, backg
elif c == "j" and fontsize == 32:
w, h = font.getsize(c)
draw.text((width + 2, fontoffset), c, fill=foreground, font=font)
elif c == "j" and fontsize == 64:
aw, h = font.getsize(c)
draw.text((width + 3, fontoffset), c, fill=foreground, font=font)
else:
w, h = font.getsize(c)
draw.text((width + 1, fontoffset), c, fill=foreground, font=font)