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 в случае возникновения ошибки.
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...