Fit a rectangle anround text