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

Issue 601763002: Rewrite SVG text-decoration handling to not require GC scale-adjustment (Closed)

Created:
6 years, 3 months ago by fs
Modified:
6 years, 3 months ago
CC:
blink-reviews, blink-reviews-rendering, zoltan1, rwlbuis, pdr+renderingwatchlist_chromium.org, eae+blinkwatch, leviw+renderwatch, kouhei+svg_chromium.org, fs, ed+blinkwatch_opera.com, krit, f(malita), gyuyoung.kim_webkit.org, jchaffraix+rendering, Stephen Chennney, pdr+svgwatchlist_chromium.org, rune+blink
Project:
blink
Visibility:
Public.

Description

Rewrite SVG text-decoration handling to not require GC scale-adjustment Since drawing decorations for text means drawing "regular geometry" rather than specially-scaled glyphs of a font, there's no need to first append the inverse scale-factor the CTM and then scale the geometry - just adjust the computed (scaled) font-metrics and emit unscaled geometry. This allows for the stroke thickness adjustment to only be applied in the text-case, so sink it out of PaintingResourceScope. Also modify the function that computes the offset for the decorations to do so relative to the baseline, and rename it accordingly. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=182615

Patch Set 1 #

Total comments: 2

Patch Set 2 : Opera->Presto #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -34 lines) Patch
M Source/core/rendering/svg/SVGInlineTextBox.cpp View 1 7 chunks +17 lines, -34 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
fs
6 years, 3 months ago (2014-09-24 13:27:47 UTC) #2
Stephen Chennney
lgtm with minor comment fix. https://codereview.chromium.org/601763002/diff/1/Source/core/rendering/svg/SVGInlineTextBox.cpp File Source/core/rendering/svg/SVGInlineTextBox.cpp (right): https://codereview.chromium.org/601763002/diff/1/Source/core/rendering/svg/SVGInlineTextBox.cpp#newcode461 Source/core/rendering/svg/SVGInlineTextBox.cpp:461: // Compatible with Batik/Opera. ...
6 years, 3 months ago (2014-09-24 14:56:53 UTC) #3
fs
https://codereview.chromium.org/601763002/diff/1/Source/core/rendering/svg/SVGInlineTextBox.cpp File Source/core/rendering/svg/SVGInlineTextBox.cpp (right): https://codereview.chromium.org/601763002/diff/1/Source/core/rendering/svg/SVGInlineTextBox.cpp#newcode461 Source/core/rendering/svg/SVGInlineTextBox.cpp:461: // Compatible with Batik/Opera. On 2014/09/24 14:56:52, Stephen Chenney ...
6 years, 3 months ago (2014-09-24 15:54:04 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/601763002/20001
6 years, 3 months ago (2014-09-24 16:02:39 UTC) #6
commit-bot: I haz the power
6 years, 3 months ago (2014-09-24 17:04:39 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as 182615

Powered by Google App Engine
This is Rietveld 408576698