Gimp.context_set_font
@accepts(Gimp.Font)
@returns(bool)
def context_set_font(font):
# Python wrapper for gimp_context_set_font()
Set the active font.
Sets the active font in the current context. The font will be used in subsequent text operations. Returns an error when the font data was uninstalled since the font object was created.
Since 2.2
- font
The font.
- Returns