reflow text automatically to fit bounding box