DescriptionSimplify text emphasis painting
We're currently drawing emphasis marks in two passes:
* first pass performs regular text shaping, generating a synthetic
glyph buffer with real text glyphs and center-aligned offsets
* in a second pass we generate the actual emphasis mark glyph buffer,
substituting mark glyphs for the previous text glyphs
This is unnecessarily convoluted: after switching to offset-based glyph
buffers, we can substitute emphasis marks glyphs on the fly and generate
the final buffer in a single pass.
The CL adds the necessary plumbing and updates the shapers to perform
emphasis mark glyph substitution when needed.
R=eae@choromium.org,jbroman@chromium.org,kojii@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=191556
Patch Set 1 #
Total comments: 4
Patch Set 2 : review comments #
Messages
Total messages: 11 (3 generated)
|