libtxt: track the font metrics of each run in order to calculate heights in...
libtxt: track the font metrics of each run in order to calculate heights in GetRectsForRange (#4442) 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)
Showing
想要评论请 注册 或 登录