context_set_font


Description:


[ Version ( since = "2.2" ) ]
public bool context_set_font (Font 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.

Parameters:

font

The font.

Returns:

TRUE on success.


Namespace: Gimp
Package: gimp-3.0