diff --git a/backend/open_webui/models/users.py b/backend/open_webui/models/users.py index 5c063c2..8494c63 100644 --- a/backend/open_webui/models/users.py +++ b/backend/open_webui/models/users.py @@ -385,10 +385,11 @@ class UsersTable: font_url = "https://fonts.gstatic.com/s/roboto/v27/KFOmCnqEu92Fr1Mu4mxP.ttf" response = requests.get(font_url) font_file = io.BytesIO(response.content) + font_size = get_font_size(size, letter, font_file) # Użyj pobranej czcionki font = ImageFont.truetype(font_file, size=font_size) - print(f"2) {font_size}") + #print(f"2) {font_size}") # Obliczanie pozycji tekstu bbox = font.getbbox(letter)