Sets the hint style for font outlines for the font options object. 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 #cairo_hint_style_t for full details.

cairo_font_options_set_hint_style(options, hint_style)

Arguments

options

[cairo_font_options_t *] a #cairo_font_options_t

hint_style

[int] the new hint style

Details

Since: 1.0

C function prototype: void cairo_font_options_set_hint_style (cairo_font_options_t *options, cairo_hint_style_t hint_style)

See also