FontOption.setHintStyle

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. Since 1.0

class FontOption
void
setHintStyle

Parameters

hintStyle cairo_hint_style_t

the new hint style

Meta