path to ttf
This commit is contained in:
parent
b8e5d57cb8
commit
eef9a44d55
1 changed files with 1 additions and 1 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue