Merge pull request 'move data/captcha/font.ttf to data/fonts/captcha.ttf' (#1) from feature/move_font into master

Reviewed-on: https://git.lolcat.ca/lolcat/4get/pulls/1
This commit is contained in:
lolcat 2024-02-25 23:29:08 +00:00
commit c652e8e20f
2 changed files with 1 additions and 1 deletions

View file

@ -178,7 +178,7 @@ $draw = new ImagickDraw();
$draw->setFontSize(20); $draw->setFontSize(20);
$draw->setFillColor($theme["fg"]); $draw->setFillColor($theme["fg"]);
//$draw->setTextAntialias(false); //$draw->setTextAntialias(false);
$draw->setFont("./data/captcha/font.ttf"); $draw->setFont("./data/fonts/captcha.ttf");
$text = "Pick " . $picks . " images of " . str_replace("_", " ", $choosen[0]); $text = "Pick " . $picks . " images of " . str_replace("_", " ", $choosen[0]);