fit text to shape