contextSetFontOptions

fun contextSetFontOptions(context: <Error class: unknown class>, options: <Error class: unknown class>? = null)(source)

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

These options override any options that func@update_context derives from the target surface.

Since

1.10

Parameters

context

a PangoContext, from a pangocairo font map

options

a cairo_font_options_t, or null to unset any previously set options. A copy is made.