Closed sam598 closed 2 years ago
Thanks for raising that problem(and also proposing a solution). I'll update the code to use the default font as backup.
@sam598 I added the default font as fallback, please update if there are any more issues with that
Changing line
font = ImageFont.truetype("truetype/freefont/FreeSans.ttf", font_size)
to
font = ImageFont.load_default()
is a quick fix.