forked from flutter/engine
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libtxt: track the font metrics of each run in order to calculate heig…
…hts in GetRectsForRange (flutter#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)
- Loading branch information
1 parent
edaecdc
commit 9f8cf7e
Showing
3 changed files
with
33 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters