downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

ImagickDraw::setFontFamily> <ImagickDraw::setFillRule
[edit] Last updated: Fri, 24 May 2013

view this page in

ImagickDraw::setFont

(PECL imagick 2.0.0)

ImagickDraw::setFontSets the fully-specified font to use when annotating with text

说明

bool ImagickDraw::setFont ( string $font_name )
Warning

本函数还未编写文档,仅有参数列表。

Sets the fully-specified font to use when annotating with text.

参数

font_name

返回值

成功时返回 TRUE



add a note add a note User Contributed Notes ImagickDraw::setFont - [2 notes]
up
0
Anonymous
2 years ago
To get a list of fonts that ImageMagick knows about, enter this from a cmd shell:
 convert -list font
up
0
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");

 
show source | credits | stats | sitemap | contact | advertising | mirror sites