diff options
| author | ilotterytea <iltsu@alright.party> | 2025-06-13 02:48:34 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-06-13 02:48:34 +0500 |
| commit | 120f1632c0396c47f61f0d49c3181e10b2da2045 (patch) | |
| tree | 23d62d542227458296477b1521c9f81f72e47a97 | |
| parent | 03607513ee46ef2fbd89bcfd89092ab4cc11b679 (diff) | |
feat: added arial font
| -rw-r--r-- | public/static/ttf/Arial.ttf | bin | 0 -> 1036584 bytes | |||
| -rw-r--r-- | src/message_picture.php | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/public/static/ttf/Arial.ttf b/public/static/ttf/Arial.ttf Binary files differnew file mode 100644 index 0000000..8682d94 --- /dev/null +++ b/public/static/ttf/Arial.ttf 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; |
