Gimp.TextLayer.prototype.set_font

function set_font(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

font

The new font to use.

Returns

TRUE on success.