Fix i in dblsize
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 36 KiB |
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user