To get a list of fonts that ImageMagick knows about, enter this from a cmd shell:
convert -list font
ImagickDraw::setFont
(PECL imagick 2.0.0)
ImagickDraw::setFont — Sets the fully-specified font to use when annotating with text
Описание
bool ImagickDraw::setFont
( string
$font_name
)Внимание
К настоящему времени эта функция еще не была документирована; для ознакомления доступен только список аргументов.
Sets the fully-specified font to use when annotating with text.
Список параметров
-
font_name -
Возвращаемые значения
В случае успешной работы возвращает TRUE.
Anonymous ¶
2 years ago
zombiebovine at gmail dot com ¶
3 years ago
The only acceptable parameters I've been able to use are the location, relative to site root, of a font file.
e.g,
$draw->setFont("fonts/arial.ttf");
