Gimp.text_layer_set_font
function text_layer_set_font(layer: Gimp.Layer, font: String): Boolean {
// Gjs wrapper for gimp_text_layer_set_font()
}
Set the font of a text layer.
This procedure modifies the font used in the specified text layer.
Since 2.6
- layer
The text layer.
- font
The new font to use.
- Returns
TRUE on success.