fix file path

This commit is contained in:
samerbam 2023-08-23 20:03:33 -04:00
parent e226a751fa
commit 213c1a556d

View File

@ -103,7 +103,7 @@ def convert_to_image(sudoku, size=16, flipped=False):
unicode_text = sudoku[0]
# print(sudoku)
# print(len(sudoku))
verdana_font = ImageFont.truetype("IBMPlexMono-Medium.ttf", size, encoding="unic")
verdana_font = ImageFont.truetype("application/IBMPlexMono-Medium.ttf", size, encoding="unic")
# get the line size
bx, by, text_width, text_height = verdana_font.getbbox(unicode_text)