Previously GetRectsForRange was assigning each rectangle a height matching the height of the entire line. If the line includes multiple text styles, callers will expect each span's rectangle to reflect the height of that span. (see text_painter_rtl_test.dart)