Package: cairo

CStruct cairo:font-face-t

Details

The 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 cairo:font-face function. The size and font matrix are set with the cairo:set-font-size and cairo:font-matrix functions.

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 cairo:font-face-type function.

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

See also

2025-1-29