mod letter
This commit is contained in:
parent
112a8aacaf
commit
c569ad0879
|
|
@ -397,7 +397,7 @@ class UsersTable:
|
||||||
text_width = bbox[2] - bbox[0]
|
text_width = bbox[2] - bbox[0]
|
||||||
text_hight = bbox[3] - bbox[1]
|
text_hight = bbox[3] - bbox[1]
|
||||||
x = (size[0] - text_width) // 2
|
x = (size[0] - text_width) // 2
|
||||||
y = (size[1] - text_hight - 100) // 2 # Poprawione obliczenie pozycji y
|
y = (size[1] - text_hight - 80) // 2 # Poprawione obliczenie pozycji y
|
||||||
draw.text((x, y), letter, font=font, fill=text_color)
|
draw.text((x, y), letter, font=font, fill=text_color)
|
||||||
|
|
||||||
buffered = io.BytesIO()
|
buffered = io.BytesIO()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue