PDF_setflat
PDF_setgray_fill
PDF Functions
PHP Manual

# PDF_setfont

(PHP 4 >= 4.0.5, PECL pdflib >= 1.0.0)

PDF_setfont — Set font

### Description

bool PDF_setfont ( resource `$pdfdoc` , int `$font` , float `$fontsize` )

Sets the current font in the specified `size`, using a `font` handle returned by PDF_load_font(). Returns `TRUE` on success or `FALSE` on failure.

PDF_setflat
PDF_setgray_fill
PDF Functions
PHP Manual