Context.setFontOptions

void setFontOptions(cairo.font_options.FontOptions options)

Sets a set of custom font rendering options for the #cairo_t. Rendering options are derived by merging these options with the options derived from underlying surface; if the value in options has a default value (like [cairo.types.Antialias.Default]), then the value from the surface is used.

Parameters

optionsfont options to use