From f1ad44412d4d71d7874764378ebb574c2a17341d Mon Sep 17 00:00:00 2001 From: throwaway Date: Sun, 25 Feb 2024 14:20:47 -0800 Subject: move data/captcha/font.ttf to data/fonts/captcha.ttf --- captcha.php | 2 +- data/captcha/font.ttf | Bin 125972 -> 0 bytes data/fonts/captcha.ttf | Bin 0 -> 125972 bytes 3 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 data/captcha/font.ttf create mode 100644 data/fonts/captcha.ttf diff --git a/captcha.php b/captcha.php index a92b0ee..286a277 100755 --- a/captcha.php +++ b/captcha.php @@ -178,7 +178,7 @@ $draw = new ImagickDraw(); $draw->setFontSize(20); $draw->setFillColor($theme["fg"]); //$draw->setTextAntialias(false); -$draw->setFont("./data/captcha/font.ttf"); +$draw->setFont("./data/fonts/captcha.ttf"); $text = "Pick " . $picks . " images of " . str_replace("_", " ", $choosen[0]); diff --git a/data/captcha/font.ttf b/data/captcha/font.ttf deleted file mode 100644 index 13f5dc7..0000000 Binary files a/data/captcha/font.ttf and /dev/null differ diff --git a/data/fonts/captcha.ttf b/data/fonts/captcha.ttf new file mode 100644 index 0000000..13f5dc7 Binary files /dev/null and b/data/fonts/captcha.ttf differ -- cgit v1.2.3