Package: pango

Function pango:cairo-context-font-options

Lambda List

pango:cairo-context-font-options (context)

Syntax

(pango:cairo-context-font-options context) => options
(setf (pango:cairo-context-font-options context) options)

Arguments

context -- a pango:context object, from a PangoCairo font map
options -- a cairo:font-options-t instance, or nil to unset any previously set font options

Details

Gets or sets the font options used when rendering text with the Pango context. This function does not report options that are derived from the target surface by the pango:cairo-update-context function. These font options override any font options that the pango:cairo-update-context function derives from the target surface.
 

See also

2025-08-24