diff --git a/main.py b/main.py index 4cbbebcc5de00a37f5781e936bf5e5691fefa184..7cff058739ce917a3feb0a1378c9fde45aed4626 100644 --- a/main.py +++ b/main.py @@ -50,7 +50,7 @@ class WebServer(BaseHTTPRequestHandler): img.putpalette(palette) draw = ImageDraw.Draw(img) - font = ImageFont.truetype("/usr/share/fonts/TTF/DejaVuSans-Bold.ttf", fontSize) + font = ImageFont.truetype("/usr/share/fonts/dejavu/DejaVuSans-Bold.ttf", fontSize) for i, line in enumerate(text): color = line["color"] draw.text((0, 0 + (fontSize + lineSpacing) * i), line["text"], fill=color, font=font)