(PHP 4, PHP 5 <= 5.0.5)
cpdf_set_font — Select the current font face and size
Sets the current font face, font size and encoding.
The document handle, returned by cpdf_open().
The font name. Currently only the standard postscript fonts are supported.
See the ClibPDF Manual for more information, especially on how to support Asian fonts.
The font size
Can take the following values: MacRomanEncoding, MacExpertEncoding, WinAnsiEncoding, and NULL (the font's built-in encoding).
Returns TRUE on success or FALSE on failure.