Gimp.TextLayer.prototype.get_font

function get_font(): String {
    // Gjs wrapper for gimp_text_layer_get_font()
}
  

Get the font from a text layer as string.

This procedure returns the name of the font from a text layer.

Since 2.6

Returns

The font which is used in the specified text layer. The returned value must be freed with g_free().