Package: cairo

Function cairo:surface-font-options

Lambda List

cairo:surface-font-options (surface options)

Arguments

surface -- a cairo:surface-t instance
options -- a cairo:font-options-t instance into which to store the retrieved options, all existing values are overwritten

Return Value

The cairo:font-options-t instance with the retrieved options.

Details

Retrieves the default font rendering options for the surface. This allows display surfaces to report the correct subpixel order for rendering on them, print surfaces to disable hinting of metrics and so forth. The result can then be used with the cairo:scaled-font-create function.
 

See also

2025-1-18