Package: cairo

CStruct cairo-font-face-t

Details

A cairo-font-face-t structure specifies all aspects of a font other than the size or font matrix (a font matrix is used to distort a font by sheering it or scaling it unequally in the two directions). A font face can be set on a Cairo context by using the function cairo-set-font-face; the size and font matrix are set with the functions cairo-set-font-size and cairo-set-font-matrix.

There are various types of font faces, depending on the font backend they use. The type of a font face can be queried using the function cairo-font-face-get-type.

Memory management of the cairo-font-face-t structure is done with the functions cairo-font-face-reference and cairo-font-face-destroy. cairo-set-font-face
 

See also

2020-12-15