fontOptionsCreate

Allocates a new font options object with all options initialized to default values.

Return Value

Type: cairo.font_options.FontOptions

a newly allocated #cairo_font_options_t. Free with cairo.font_options.FontOptions.destroy. This function always returns a valid pointer; if memory cannot be allocated, then a special error object is returned where all operations on the object do nothing. You can check for this with cairo.font_options.FontOptions.status.