# Gimp.TextLayer.prototype.get_font_size

    function get_font_size(): [return_value: Number(gdouble), unit: Gimp.Unit] {
        // Gjs wrapper for gimp_text_layer_get_font_size()
    }

Get the font size from a text layer.

This procedure returns the size of the font which is used in a text layer. You will receive the size as a double 'font-size' in 'unit' units.

Since 2.6

return_value

  The font size.

unit

  The unit used for the font size.