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 getFamily().
The Context.selectFontFace() function uses this to create font faces. See that function for limitations and other details of toy font faces.
See Implementation
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 getFamily().
The Context.selectFontFace() function uses this to create font faces. See that function for limitations and other details of toy font faces.