Context.setFontFace

void setFontFace(cairo.font_face.FontFace fontFace)

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.

Parameters

fontFacea #cairo_font_face_t, or null to restore to the default font