Gimp.text_layer_set_hint_style
function text_layer_set_hint_style(layer: Gimp.Layer, style: Gimp.TextHintStyle): Boolean {
// Gjs wrapper for gimp_text_layer_set_hint_style()
}
Control how font outlines are hinted in a text layer.
This procedure sets the hint style for font outlines in a text layer. This controls whether to fit font outlines to the pixel grid, and if so, whether to optimize for fidelity or contrast.
Since 2.8
- layer
The text layer.
- style
The new hint style.
- Returns
TRUE on success.