Context.setFontOptions

Sets a set of custom font rendering options for the #cairo_t. Rendering options are derived by merging these options with the options derived from underlying surface; if the value in options has a default value (like cairo.types.Antialias.Default), then the value from the surface is used.

class Context
void
setFontOptions

Parameters

options cairo.font_options.FontOptions

font options to use