Improvements to text resizing utils