path to ttf

This commit is contained in:
Your Name 2025-10-13 18:20:19 -04:00
parent b8e5d57cb8
commit eef9a44d55

View file

@ -17,7 +17,7 @@ $bg->setColor( 'white');
$ImagickDraw = new ImagickDraw();
/* Set font and font size. You can also specify /path/to/font.ttf */
$ImagickDraw->setFont( 'captchafont.ttf' );
$ImagickDraw->setFont( "static/captchafont.ttf" );
$ImagickDraw->setFontSize( 25 );
/* Create the text */