Package: cairo
Function cairo-toy-font-face-create
Lambda Listcairo-toy-font-face-create (family slant weight) ArgumentsReturn Value A newly created cairo-font-face-t instance. Free with the cairo-font-face-destroy function when you are done using it. Details
Creates a font face from a triplet of family, slant, and weight.
These font faces are used in implementation of the the Cairo "toy" font API. If family is the zero-length string "", the platform-specific default family is assumed. The default family then can be queried using the cairo-toy-font-face-get-family function. The cairo-select-font-face function uses this to create font faces. See that function for limitations and other details of toy font faces. | See also |
2021-12-12