From 120f1632c0396c47f61f0d49c3181e10b2da2045 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Fri, 13 Jun 2025 02:48:34 +0500 Subject: feat: added arial font --- src/message_picture.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/message_picture.php b/src/message_picture.php index 26ce60e..2759d91 100644 --- a/src/message_picture.php +++ b/src/message_picture.php @@ -2,7 +2,7 @@ function generate_message_screenshot(GdImage $pfp, string $username, string $channel, string $message, int $timestamp): GdImage { $font_size = 18; - $font_path = 'Arial.ttf'; + $font_path = './static/ttf/Arial.ttf'; $width = 500; $height = 200; $pad_x = 24; -- cgit v1.2.3