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

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

2025-1-1