Surface.getFontOptions

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 cairo.global.scaledFontCreate.

class Surface
void
getFontOptions

Parameters

options cairo.font_options.FontOptions

a #cairo_font_options_t object into which to store the retrieved options. All existing values are overwritten