DescriptionFix the x-offset calculation when drawing the text.
The current calculation assumes positions[0].x() is zero, a run
may start with certain x-offset. It depends on the font settings.
In that case, the entire run might be shifted horizontally.
This is still really hard to be tested in the current code base,
the x-offset value comes from the font settings. Let me leave
the test for the further CL(s).
BUG=456692
R=msw@chromium.org, ckocagil@chromium.org
Committed: https://crrev.com/2bc3c549d9e42787e66f41634c622cf4c7e63f9e
Cr-Commit-Position: refs/heads/master@{#316989}
Patch Set 1 #
Total comments: 2
Patch Set 2 : fix #
Total comments: 2
Patch Set 3 : fix #Messages
Total messages: 10 (2 generated)
|