Bug 941710 - move out text boundary calculation from GetPosAndText, r=tbsaunde