Gimp.TextLayer.set_font

@accepts(Gimp.TextLayer, Gimp.Font)
@returns(bool)
def set_font(self, font):
    # Python 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

self

The text layer.

font

The new font to use.

Returns