calc text height into text position