cairo_font_face_t

A #cairo_font_face_t specifies all aspects of a font other than the size or font matrix (a font matrix is used to distort a font by shearing it or scaling it unequally in the two directions) . A font face can be set on a #cairo_t by using cairo.context.Context.setFontFace; the size and font matrix are set with cairo.context.Context.setFontSize and cairo.context.Context.setFontMatrix.

There are various types of font faces, depending on the <firstterm>font backend</firstterm> they use. The type of a font face can be queried using cairo.font_face.FontFace.getFontType.

Memory management of #cairo_font_face_t is done with cairo.font_face.FontFace.reference and cairo.font_face.FontFace.destroy.

struct cairo_font_face_t