PDF_findfont

(PHP 4 >= 4.0.5)

PDF_findfont -- Prepare font for later use with PDF_setfont().

Description

void PDF_findfont (int pdf object, 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", or a user-defined encoding name, or the name of a CMap.