fix file path
This commit is contained in:
parent
8c99664acf
commit
654787974c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user