aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/samplerstress.cpp
diff options
context:
space:
mode:
authorGravatar caryclark <caryclark@google.com>2015-07-28 11:22:48 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-07-28 11:22:48 -0700
commit66fb63ffeca31c15171a8096f3fdc004bc75e758 (patch)
tree0cfe9353be7167a0f9b0318bfeac8cf783f01698 /gm/samplerstress.cpp
parentf597c42c50718d5c39769077040de1768c89bbd3 (diff)
gm fix missed portable gm text in samplerstress
TBR=reed@google.com Review URL: https://codereview.chromium.org/1261093002
Diffstat (limited to 'gm/samplerstress.cpp')
-rw-r--r--gm/samplerstress.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/gm/samplerstress.cpp b/gm/samplerstress.cpp
index 38b94bf03a..7f85e17f54 100644
--- a/gm/samplerstress.cpp
+++ b/gm/samplerstress.cpp
@@ -128,6 +128,7 @@ protected:
paint2.setTextSize(72);
paint2.setStyle(SkPaint::kStroke_Style);
paint2.setStrokeWidth(1);
+ sk_tool_utils::set_portable_typeface(&paint2);
canvas->drawText("M", 1,
SkIntToScalar(100), SkIntToScalar(100),
paint2);