fix file path

This commit is contained in:
samerbam 2023-08-22 22:48:46 -04:00
parent 8c99664acf
commit 654787974c

View File

@ -89,7 +89,7 @@ def convert_to_image(sudoku):
# sample text and font
# unicode_text = u"Unicode Characters: \u00C6 \u00E6 \u00B2 \u00C4 \u00D1 \u220F"
unicode_text = sudoku[0]
verdana_font = ImageFont.truetype("IBMPlexMono-Medium.ttf", 16, encoding="unic")
verdana_font = ImageFont.truetype("application/IBMPlexMono-Medium.ttf", 16, encoding="unic")
# get the line size
text_width, text_height = verdana_font.getsize(unicode_text)