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");
ImagickDraw::setFont
(PECL imagick 2.0.0)
ImagickDraw::setFont — Sets the fully-specified font to use when annotating with text
Descrierea
bool ImagickDraw::setFont
( string $font_name
)
Avertizare
Această funcţie nu este documentată în prezent; este disponibilă numai lista sa de argumente.
Sets the fully-specified font to use when annotating with text.
Parametri
- font_name
-
Valorile întroarse
Întoarce TRUE în caz de succes.
ImagickDraw::setFont
zombiebovine at gmail dot com
14-Sep-2009 12:49
14-Sep-2009 12:49
