Context.setFontFace

Replaces the current cairo_font_face_t object in the cairo_t with font_face. The replaced font face in the cairo_t will be destroyed if there are no other references to it. Since 1.0

class Context
void
setFontFace

Parameters

fontFace FontFace

a cairo_font_face_t, or NULL to restore to the default font