pdf_setfont

(PHP 4 >= 4.0.5, PECL)

pdf_setfont -- Set the current font

Description

bool pdf_setfont ( resource pdfdoc, int font, float size )

Set the current font in the given size, using a font handle returned by pdf_findfont(). Возвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки.

See also pdf_findfont().



pdf_setfont
Malcolm Scott
04-Jun-2003 12:38
Note that pdf_setfont (this function) and pdf_set_font (a deprecated function) are different. I spent a while trying to figure out why my code wasn't working; it turns out I'd included the extra underscore by accident...

<pdf_setflatpdf_setgray_fill>
 Last updated: Tue, 15 Nov 2005