void cpdf_set_font
(int pdf document, string font name, double size, int encoding);The cpdf_set_font() function sets the the current font face, font size and encoding. Currently only the standard postscript fonts are supported. The last parameter encoding can take the following values: 2 = macroman, 3 = macexpert, 4 = winansi. Any other value selects the font's buildin encoding.