DescriptionFix multiline behaviors for RTL text.
- Usually, logical first segment should appear in the first line
when multi-lined. This is the reported bug as crbug.com/458219
Therefore, TextRunHarfBuzz should be added to the line breaker
in the logical order.
- The segment order in a line is assumed as visual order,
therefore it needs to be sorted.
- Modified the test expectations which support this behavior.
- Added new test cases to verify where exactly the segment is
drawn.
BUG=458219
R=msw@chromium.org, ckocagil@chromium.org
TEST=gfx_unittests
Committed: https://crrev.com/41d94b4931866d75bdbe9b75377b7608bba63d3a
Cr-Commit-Position: refs/heads/master@{#316954}
Patch Set 1 #
Total comments: 2
Patch Set 2 : fix #
Total comments: 13
Patch Set 3 : rebase #Patch Set 4 : comments addressed #
Total comments: 4
Patch Set 5 : fix #
Total comments: 4
Patch Set 6 : fix #
Messages
Total messages: 14 (2 generated)
|