get the text bounds