1
Fatal error: Uncaught exception 'ImagickDrawException' with message 'The given font is not found in the ImageMagick configuration and the file (/var/www/Arial) is not accessible' in /var/www/captcha.php:20 Stack trace:Imagemagik用PHP
0 /var/www/captcha.php(20): ImagickDraw->setfont('Arial') #1
{main} thrown in /var/www/captcha.php on line 20
我收到以下错误,当我尝试以下
<?php
/* Create Imagick object */
$Imagick = new Imagick();
/* Set font and font size. You can also specify /path/to/font.ttf */
$ImagickDraw->setFont('Helvetica Regular');
?>