Grx.Font.get_text_height

@accepts(Grx.Font, unicode)
@returns(int)
def get_text_height(self, text):
    # Python 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.

self

the font

text

the text

Returns