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 — テキストによる注記を行う際に使用するフォントを設定する
説明
bool ImagickDraw::setFont
( string
$font_name
)警告
この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。
テキストによる注記を行う際に使用するフォントを設定します。
パラメータ
-
font_name -
返り値
成功した場合に TRUE を返します。
Anonymous
07-Apr-2011 02:54
zombiebovine at gmail dot com
14-Sep-2009 02:49
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");
