Merge "Measure the text before doing line break"