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

search for in the

ImagickDraw::setFontFamily> <ImagickDraw::setFillRule
[edit] Last updated: Fri, 24 Feb 2012

view this page in

ImagickDraw::setFont

(PECL imagick 2.0.0)

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

Descrição

bool ImagickDraw::setFont ( string $font_name )
Aviso

Esta função não está documentada; somente a lista de argumentos está disponível.

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

Parâmetros

font_name

Valor Retornado

Retorna TRUE em sucesso.



add a note add a note User Contributed Notes ImagickDraw::setFont
Anonymous 06-Apr-2011 05:54
To get a list of fonts that ImageMagick knows about, enter this from a cmd shell:
 convert -list font
zombiebovine at gmail dot com 14-Sep-2009 05: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");

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