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

Issue 923583002: [SkSVGDevice] Full font family support (Closed)

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

Description

[SkSVGDevice] Full font family support Use a family name iterator and list all names instead of just one returned by SkTypeface::getFamilyName(). R=reed@google.com,mtklein@google.com Committed: https://skia.googlesource.com/skia/+/f89f60f6972569a41fa737c786d238559027fede

Patch Set 1 #

Total comments: 3

Patch Set 2 : review comments #

Total comments: 2

Patch Set 3 : use SkTHashSet #

Patch Set 4 : drop unneeded SkTDArray API tweaks #

Patch Set 5 : slightly less lame hash function #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -7 lines) Patch
M gyp/svg.gyp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M include/core/SkTDArray.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/svg/SkSVGDevice.cpp View 1 2 3 4 3 chunks +24 lines, -6 lines 3 comments Download

Messages

Total messages: 17 (2 generated)
f(malita)
https://codereview.chromium.org/923583002/diff/1/include/core/SkTArray.h File include/core/SkTArray.h (right): https://codereview.chromium.org/923583002/diff/1/include/core/SkTArray.h#newcode367 include/core/SkTArray.h:367: int find(const T& elem) const { Similar to SkTDArray's ...
5 years, 10 months ago (2015-02-12 17:37:47 UTC) #1
reed1
using strings in SkTArray is fine, but may be slightly expensive, since resizing the array ...
5 years, 10 months ago (2015-02-12 17:55:13 UTC) #2
f(malita)
On 2015/02/12 17:55:13, reed1 wrote: > using strings in SkTArray is fine, but may be ...
5 years, 10 months ago (2015-02-12 18:00:54 UTC) #3
mtklein
On 2015/02/12 18:00:54, f(malita) wrote: > On 2015/02/12 17:55:13, reed1 wrote: > > using strings ...
5 years, 10 months ago (2015-02-12 18:02:37 UTC) #4
f(malita)
https://codereview.chromium.org/923583002/diff/1/include/core/SkTArray.h File include/core/SkTArray.h (right): https://codereview.chromium.org/923583002/diff/1/include/core/SkTArray.h#newcode373 include/core/SkTArray.h:373: return (int) (iter - fItemArray); On 2015/02/12 17:55:13, reed1 ...
5 years, 10 months ago (2015-02-12 18:10:19 UTC) #5
reed1
headers lgtm
5 years, 10 months ago (2015-02-12 19:18:35 UTC) #6
mtklein
https://codereview.chromium.org/923583002/diff/20001/src/svg/SkSVGDevice.cpp File src/svg/SkSVGDevice.cpp (right): https://codereview.chromium.org/923583002/diff/20001/src/svg/SkSVGDevice.cpp#newcode468 src/svg/SkSVGDevice.cpp:468: SkAutoTUnref<const SkTypeface> tface(paint.getTypeface() ? Do we really need to ...
5 years, 10 months ago (2015-02-12 21:14:11 UTC) #7
f(malita)
https://codereview.chromium.org/923583002/diff/20001/src/svg/SkSVGDevice.cpp File src/svg/SkSVGDevice.cpp (right): https://codereview.chromium.org/923583002/diff/20001/src/svg/SkSVGDevice.cpp#newcode468 src/svg/SkSVGDevice.cpp:468: SkAutoTUnref<const SkTypeface> tface(paint.getTypeface() ? On 2015/02/12 21:14:10, mtklein wrote: ...
5 years, 10 months ago (2015-02-12 21:17:59 UTC) #8
mtklein
On 2015/02/12 21:17:59, f(malita) wrote: > https://codereview.chromium.org/923583002/diff/20001/src/svg/SkSVGDevice.cpp > File src/svg/SkSVGDevice.cpp (right): > > https://codereview.chromium.org/923583002/diff/20001/src/svg/SkSVGDevice.cpp#newcode468 > ...
5 years, 10 months ago (2015-02-12 21:19:33 UTC) #9
f(malita)
Updated to use the shiny SkTHashSet.
5 years, 10 months ago (2015-02-13 03:21:24 UTC) #11
mtklein
lgtm https://codereview.chromium.org/923583002/diff/80001/src/svg/SkSVGDevice.cpp File src/svg/SkSVGDevice.cpp (right): https://codereview.chromium.org/923583002/diff/80001/src/svg/SkSVGDevice.cpp#newcode170 src/svg/SkSVGDevice.cpp:170: // This is a lame hash function, but ...
5 years, 10 months ago (2015-02-13 15:01:20 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/923583002/80001
5 years, 10 months ago (2015-02-13 15:09:48 UTC) #14
f(malita)
https://codereview.chromium.org/923583002/diff/80001/src/svg/SkSVGDevice.cpp File src/svg/SkSVGDevice.cpp (right): https://codereview.chromium.org/923583002/diff/80001/src/svg/SkSVGDevice.cpp#newcode483 src/svg/SkSVGDevice.cpp:483: familySet.add(familyString.fString); On 2015/02/13 15:01:20, mtklein wrote: > Well, now ...
5 years, 10 months ago (2015-02-13 15:24:09 UTC) #15
mtklein
On 2015/02/13 15:24:09, f(malita) wrote: > https://codereview.chromium.org/923583002/diff/80001/src/svg/SkSVGDevice.cpp > File src/svg/SkSVGDevice.cpp (right): > > https://codereview.chromium.org/923583002/diff/80001/src/svg/SkSVGDevice.cpp#newcode483 > ...
5 years, 10 months ago (2015-02-13 15:27:33 UTC) #16
commit-bot: I haz the power
5 years, 10 months ago (2015-02-13 16:55:28 UTC) #17
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://skia.googlesource.com/skia/+/f89f60f6972569a41fa737c786d238559027fede

Powered by Google App Engine
This is Rietveld 408576698