mod letter

This commit is contained in:
l.gabrysiak 2025-03-02 17:13:43 +01:00
parent 73a9d9b916
commit b97e5a8ce2
1 changed files with 1 additions and 1 deletions

View File

@ -397,7 +397,7 @@ class UsersTable:
text_width = bbox[2] - bbox[0]
text_hight = bbox[3] - bbox[1]
x = (size[0] - text_width) // 2
y = (size[1] - text_hight - 100) // 2 # Poprawione obliczenie pozycji y
y = (size[1] - text_hight - 120) // 2 # Poprawione obliczenie pozycji y
print(y)
print(text_hight)
draw.text((x, y), letter, font=font, fill=text_color)