Fix i in dblsize

This commit is contained in:
3djc
2021-01-23 11:58:37 +01:00
parent 3cf86d9e0f
commit 139392bc74
2 changed files with 3 additions and 0 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB

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