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

Issue 928583003: [SkSVGDevice] Fix whitespace text handling (Closed)

Created:
5 years, 10 months ago by f(malita)
Modified:
5 years, 10 months ago
Reviewers:
mtklein, reed1
CC:
reviews_skia.org
Base URL:
https://chromium.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

[SkSVGDevice] Fix whitespace text handling SVG ignores leading/trailing whitespace and consolidates mid-text (http://www.w3.org/TR/SVG/text.html#WhiteSpace). This can cause our x/y position indices to get out of whack. Implement a text builder which is SVG whitespace-munging-aware and performs the needed x/y position list adjustments. R=reed@google.com,mtklein@google.com Committed: https://skia.googlesource.com/skia/+/8974774c32b5f0365d375a81d5d047c5c2406614

Patch Set 1 #

Total comments: 4

Patch Set 2 : review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+141 lines, -86 lines) Patch
M src/svg/SkSVGDevice.cpp View 1 5 chunks +141 lines, -86 lines 0 comments Download

Messages

Total messages: 14 (4 generated)
f(malita)
5 years, 10 months ago (2015-02-13 20:24:12 UTC) #1
reed1
sgtm
5 years, 10 months ago (2015-02-13 20:37:53 UTC) #2
mtklein
On 2015/02/13 20:24:12, f(malita) wrote: What happens if we just use xml:space="preserve" ?
5 years, 10 months ago (2015-02-17 15:37:29 UTC) #3
f(malita)
On 2015/02/17 15:37:29, mtklein wrote: > On 2015/02/13 20:24:12, f(malita) wrote: > > What happens ...
5 years, 10 months ago (2015-02-17 15:43:45 UTC) #4
mtklein
This LGTM with small suggestions. Given the complexity of the new whitespace merging code, I ...
5 years, 10 months ago (2015-02-18 19:55:44 UTC) #5
f(malita)
On 2015/02/18 19:55:44, mtklein wrote: > Given the complexity of the new whitespace merging code, ...
5 years, 10 months ago (2015-02-19 20:58:38 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/928583003/20001
5 years, 10 months ago (2015-02-19 20:59:35 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: Build-Win-VS2013-x86-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-VS2013-x86-Debug-Trybot/builds/2583)
5 years, 10 months ago (2015-02-19 21:01:58 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/928583003/20001
5 years, 10 months ago (2015-02-19 21:03:36 UTC) #13
commit-bot: I haz the power
5 years, 10 months ago (2015-02-20 02:44:56 UTC) #14
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://skia.googlesource.com/skia/+/8974774c32b5f0365d375a81d5d047c5c2406614

Powered by Google App Engine
This is Rietveld 408576698