The cpdf_set_font() function sets the current font face, font size and encoding.
The cpdf_set_font() function sets the current font face, font size and encoding. Currently only the standard postscript fonts are supported.