DescriptionAdd tab characters support in complex path
This patch adds Tab characters support in complex path.
Tab characters have different advances depends on the tab-size CSS
property and the current position, which is not suitable for Harfbuzz
to handle. This patch lets CachingWordShapeIterator to split tab
characters into separate runs before passing to HarffBuzzShaper.
Two layout tests are copies of existing tests with "text-rendering:
optimizeLegibility" added. These tests can be removed when simple path
is unified with complex path (crbug.com/404597).
BUG=422670
TEST=css3/tab-size-complex-path.html
TEST=fast/css/tab-size-complex-path.html
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=200331
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #Patch Set 4 : #Patch Set 5 : #
Total comments: 8
Patch Set 6 : #Patch Set 7 : #Patch Set 8 : Minor cleanup #Patch Set 9 : CachingWordShapeIterator separates tab runs #Patch Set 10 : Rebase #Patch Set 11 : Rebase #
Total comments: 6
Patch Set 12 : eae's review #Patch Set 13 : Enable word cache when allowTabs #Patch Set 14 : fast/text/drawBidiText.html NeedsRebaseline #Messages
Total messages: 24 (4 generated)
|