Fix i in xxlsize
This commit is contained in:
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 |
@@ -80,6 +80,9 @@ def createFontBitmap(filename, fontname, fontsize, fontoffset, foreground, backg
|
|||||||
elif c == "j" and fontsize == 32:
|
elif c == "j" and fontsize == 32:
|
||||||
w, h = font.getsize(c)
|
w, h = font.getsize(c)
|
||||||
draw.text((width + 2, fontoffset), c, fill=foreground, font=font)
|
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:
|
else:
|
||||||
w, h = font.getsize(c)
|
w, h = font.getsize(c)
|
||||||
draw.text((width + 1, fontoffset), c, fill=foreground, font=font)
|
draw.text((width + 1, fontoffset), c, fill=foreground, font=font)
|
||||||
|
|||||||
Reference in New Issue
Block a user