Javascript Fit Rect Around Text Width Stack Overflow

Javascript Fit Rect Around Text Width Stack Overflow