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_setfont
(PHP 4 >= 4.0.5, PECL pdflib >= 1.0.0)
PDF_setfont — Setzt aktuelle Schrift
Beschreibung
bool PDF_setfont
( resource
$pdfdoc
, int $font
, float $fontsize
)
Setzt die aktuelle Schrift in der angegebenen Größe. Gibt bei Erfolg TRUE zurück. Im Fehlerfall wird FALSE zurückgegeben.
PDF_setfont
Malcolm Scott
04-Jun-2003 09:38
04-Jun-2003 09:38