Package: pango

Function pango-cairo-context-font-options

Lambda List

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

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

Accessor of the font options set on the Pango context.

The pango-cairo-context-font-options function retrieves any font rendering options. This function does not report options that are derived from the target surface by the pango-cairo-update-context function.

The (setf pango-cairo-context-font-options) function sets the font options used when rendering text with the Pango context. These font options override any font options that the pango-cairo-update-context function derives from the target surface.
 

See also

2021-10-28