Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(257)

Issue 986493002: Simplify text emphasis painting (Closed)

Created:
5 years, 9 months ago by f(malita)
Modified:
5 years, 9 months ago
Reviewers:
kojii, eae, jbroman
CC:
blink-reviews, krit, Rik, dshwang, jbroman, Justin Novosad, danakj, pdr+graphicswatchlist_chromium.org, f(malita), Stephen Chennney, rwlbuis, reed2
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Simplify 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -91 lines) Patch
M Source/platform/fonts/Font.h View 1 2 chunks +1 line, -2 lines 0 comments Download
M Source/platform/fonts/Font.cpp View 1 5 chunks +18 lines, -54 lines 0 comments Download
M Source/platform/fonts/shaping/HarfBuzzShaper.h View 1 chunk +2 lines, -1 line 0 comments Download
M Source/platform/fonts/shaping/HarfBuzzShaper.cpp View 4 chunks +7 lines, -9 lines 0 comments Download
M Source/platform/fonts/shaping/Shaper.h View 2 chunks +12 lines, -9 lines 0 comments Download
M Source/platform/fonts/shaping/Shaper.cpp View 2 chunks +28 lines, -2 lines 0 comments Download
M Source/platform/fonts/shaping/SimpleShaper.h View 1 chunk +2 lines, -1 line 0 comments Download
M Source/platform/fonts/shaping/SimpleShaper.cpp View 1 2 chunks +9 lines, -13 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
f(malita)
5 years, 9 months ago (2015-03-06 00:36:09 UTC) #1
jbroman
lgtm with nits Sorry it took me so long to get to this. It's great. ...
5 years, 9 months ago (2015-03-07 18:50:25 UTC) #3
eae
Very nice! LGTM
5 years, 9 months ago (2015-03-07 19:31:28 UTC) #4
kojii
LGTM too, thank you for working on this.
5 years, 9 months ago (2015-03-09 08:06:34 UTC) #5
Dominik Röttsches
Nice, thanks for picking this up! Maybe we can later add a performance test for ...
5 years, 9 months ago (2015-03-09 10:43:04 UTC) #6
f(malita)
On 2015/03/07 18:50:25, jbroman wrote: > [aside: changing reviewer mailto:eae@choromium.org to mailto:eae@chromium.org] Good catch, thanks! ...
5 years, 9 months ago (2015-03-09 15:04:56 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/986493002/20001
5 years, 9 months ago (2015-03-09 15:05:20 UTC) #10
commit-bot: I haz the power
5 years, 9 months ago (2015-03-09 16:26:00 UTC) #11
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=191556

Powered by Google App Engine
This is Rietveld 408576698