DescriptionSeparate advance from offset in GlypBuffer
Change GlyphBuffer to store advances and offsets independently. This
greatly simplifies shaping and drawing of complex text. As advances are
now a single float value per glyph it is made clearer that the simple
text path only handles horizontal advances (as opposed to vertical and
horizontal offsets in addition to horizontal advances).
Also gets rid of HarfBuzzShaper::adjustStartPoint as it is no longer
needed now that offsets and advances are separate.
Must land after 175253002.
TEST=Source/platform/fonts/GlyphBufferTest.cpp
BUG=418071
R=behdad@chromium.org,dominik.rottsches@intel.com
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=182991
Patch Set 1 #Patch Set 2 : w/memory optimization and vertical text support #Patch Set 3 : w/shaper fix #Patch Set 4 : w/TestExpectations #
Total comments: 9
Patch Set 5 : Split GlyphBuffer #Patch Set 6 : w/fix for emphasis #
Total comments: 3
Patch Set 7 : Addressing Dominik's comments #
Total comments: 6
Patch Set 8 : Patch for landing #Patch Set 9 : Rebase w/HEAD #Patch Set 10 : Patch for landing #Patch Set 11 : Rebase w/HEAD #
Messages
Total messages: 38 (14 generated)
|