Returns the width and height (in pixels) of the given text with the font that has been set with surface. SetFont. Does not take into account new lines, the returned height is for the entire font (as specified by the font), not maximum of individual characters.
wiki.facepunch.com