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_setfontDescriptionbool 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(). ![]()
Malcolm Scott
05-Jun-2003 03: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...
| ![]() |