pdf_findfontDescriptionint pdf_findfont ( resource pdfdoc, string fontname, string encoding, int embed )Prepare a font for later use with pdf_setfont(). The metrics will be loaded, and if embed is nonzero, the font file will be checked, but not yet used. encoding is one of builtin, macroman, winansi, host, a user-defined encoding name or the name of a CMap. Parameter embed is optional before PHP 4.3.5 or with PDFlib less than 5. pdf_findfont() returns a font handle or FALSE on error.
| |||