Grx.Font.prototype.get_text_height
function get_text_height(text: String): Number(gint) {
// Gjs wrapper for grx_font_get_text_height()
}
Gets the height of a string using the specified font.
The string must contain valid UTF-8. Check using g_utf8_validate() first if text is from an unknown source.
- text
the text
- Returns
the height