the text to measure
the length of the text in bytes. (If the font is a 16-bit font, this is twice the length of the text in characters.)
the left bearing of the string.
the right bearing of the string.
the width of the string.
the ascent of the string.
the descent of the string.
Warning gdk_text_extents is deprecated and should not be used in newly-written code. Gets the metrics of a string.