Gimp.fonts_get_by_name

function fonts_get_by_name(name: String): [return_value: Array(Gimp.Font), num_fonts: Number(gint)] {
    // Gjs wrapper for gimp_fonts_get_by_name()
}
  

Returns the fonts with the given name.

Returns the fonts with the given name. There may be more than one.

Since 3.0

name

The name of the font.

return_value

The fonts with the given name. The returned value must be freed with g_free().

num_fonts

The number of fonts with the given name.