contextSetFontOptions

fnvoid contextSetFontOptions(pango.context.Context context, cairo.font_options.FontOptions options = null)

Sets the font options used when rendering text with this context.

These options override any options that funcupdate_context derives from the target surface.

Parameters

contexta [pango.context.Context], from a pangocairo font map
optionsa [cairo.font_options.FontOptions], or null to unset any previously set options. A copy is made.