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

Issue 245953003: Test font created from paint (Closed)

Created:
6 years, 8 months ago by reed1
Modified:
6 years, 6 months ago
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Test font created from paint This is meant to allow clients to migrate over to a SkFont api on canvas (e.g. drawText(text, font, paint)) while still permitting the current setters in paint (e.g. setTextSize, setFlags). Committed: http://code.google.com/p/skia/source/detail?r=14997

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : add tests #

Patch Set 5 : #

Total comments: 4

Patch Set 6 : rename local predicates #

Patch Set 7 : move includes inside guard #

Patch Set 8 : fix warning in release #

Unified diffs Side-by-side diffs Delta from patch set Stats (+129 lines, -0 lines) Patch
M gyp/tests.gypi View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M include/core/SkFont.h View 1 2 3 4 5 6 3 chunks +11 lines, -0 lines 0 comments Download
A tests/FontObjTest.cpp View 1 2 3 4 5 6 7 1 chunk +117 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
reed1
6 years, 6 months ago (2014-05-30 13:37:35 UTC) #1
bungeman-skia
https://codereview.chromium.org/245953003/diff/70001/tests/FontObjTest.cpp File tests/FontObjTest.cpp (right): https://codereview.chromium.org/245953003/diff/70001/tests/FontObjTest.cpp#newcode13 tests/FontObjTest.cpp:13: static bool use_nonlinear_metrics(const SkPaint& paint) { These sound imperative ...
6 years, 6 months ago (2014-05-30 14:33:51 UTC) #2
reed1
ptal https://codereview.chromium.org/245953003/diff/70001/tests/FontObjTest.cpp File tests/FontObjTest.cpp (right): https://codereview.chromium.org/245953003/diff/70001/tests/FontObjTest.cpp#newcode13 tests/FontObjTest.cpp:13: static bool use_nonlinear_metrics(const SkPaint& paint) { On 2014/05/30 ...
6 years, 6 months ago (2014-05-30 14:38:58 UTC) #3
f(malita)
https://codereview.chromium.org/245953003/diff/70001/include/core/SkFont.h File include/core/SkFont.h (right): https://codereview.chromium.org/245953003/diff/70001/include/core/SkFont.h#newcode9 include/core/SkFont.h:9: #include "SkScalar.h" Should these be inside the include guard?
6 years, 6 months ago (2014-05-30 15:02:43 UTC) #4
reed1
https://codereview.chromium.org/245953003/diff/70001/include/core/SkFont.h File include/core/SkFont.h (right): https://codereview.chromium.org/245953003/diff/70001/include/core/SkFont.h#newcode9 include/core/SkFont.h:9: #include "SkScalar.h" On 2014/05/30 15:02:44, Florin Malita wrote: > ...
6 years, 6 months ago (2014-05-30 15:07:14 UTC) #5
reed1
ptal
6 years, 6 months ago (2014-05-30 15:09:35 UTC) #6
bungeman-skia
lgtm at PS7
6 years, 6 months ago (2014-05-30 15:18:27 UTC) #7
f(malita)
lgtm
6 years, 6 months ago (2014-05-30 15:25:05 UTC) #8
eae
LGTM
6 years, 6 months ago (2014-05-30 15:27:58 UTC) #9
reed1
The CQ bit was checked by reed@google.com
6 years, 6 months ago (2014-05-30 16:18:15 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/reed@google.com/245953003/110001
6 years, 6 months ago (2014-05-30 16:18:57 UTC) #11
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: Build-Mac10.8-Clang-x86-Release-Trybot on tryserver.chromium ...
6 years, 6 months ago (2014-05-30 16:28:21 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-05-30 16:33:25 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: Build-Mac10.8-Clang-x86-Release-Trybot on tryserver.chromium (http://108.170.220.76:10117/builders/Build-Mac10.8-Clang-x86-Release-Trybot/builds/1181)
6 years, 6 months ago (2014-05-30 16:33:25 UTC) #14
reed1
The CQ bit was checked by reed@google.com
6 years, 6 months ago (2014-05-30 16:39:16 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/reed@google.com/245953003/130001
6 years, 6 months ago (2014-05-30 16:39:59 UTC) #16
commit-bot: I haz the power
6 years, 6 months ago (2014-05-30 16:46:15 UTC) #17
Message was sent while issue was closed.
Change committed as 14997

Powered by Google App Engine
This is Rietveld 408576698