getting text size information

Is it toally impossible to gain just some slight information about how much space my text takes up on screen, when using the GUI system? I mean, I can define the size of labels etc., but I don’t seem to have any way of actually knowing if my defined Rects are big enough to hold the text strings fed to them…
Any work aorund?

I need post information of what actually happend when I did the label rendering, and what the user will see on his/her screen.

GUIContent content = new GUIContent(textToMeasure);
Vector2 size = textGUIStyle.CalcSize(content);
size = new Vector2(size.x, msgEntryStyle.CalcHeight(content, size.x));

Where textGUIStyle is the style of your label and textToMeasure is the string.

And yes, you do need to first use CalcSize for the width, and the CalcHeight for the height, if you use wordwrap. If you don’t have wordwrap, then calcsize should be enough.