Package: cairo

Function cairo-font-options-hint-style

Lambda List

cairo-font-options-hint-style (options)

Syntax

(cairo-font-options-hint-style options) => style
(setf (cairo-font-options-hint-style options) style)

Arguments

options -- a cairo-font-options-t instance
style -- a value of the cairo-hint-style-t enumeration

Details

The cairo-font-options-hint-style function gets the hint style for font outlines for the font options instance. The (setf cairo-font-options-hint-style) function sets the hint style for font outlines for the font options instance. This controls whether to fit font outlines to the pixel grid, and if so, whether to optimize for fidelity or contrast. See the documentation for the cairo-hint-style-t enumeration for full details.
 

See also

2021-10-28