aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/mixedtextblobs.cpp
diff options
context:
space:
mode:
authorGravatar caryclark <caryclark@google.com>2015-07-21 13:11:26 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-07-21 13:11:26 -0700
commite59524dff5421309a80ecdad6993032b991aae38 (patch)
tree296b2f659c4f09f1834390b4ea2a32d97fffe3a9 /gm/mixedtextblobs.cpp
parent4c4b84c0051e5126f17e55e0d5b61b5ad8c7d301 (diff)
make mixedtextblobs gm portable
TBR=reed@google.com Review URL: https://codereview.chromium.org/1250753004
Diffstat (limited to 'gm/mixedtextblobs.cpp')
-rw-r--r--gm/mixedtextblobs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/mixedtextblobs.cpp b/gm/mixedtextblobs.cpp
index ead1b24975..53bd7f7e36 100644
--- a/gm/mixedtextblobs.cpp
+++ b/gm/mixedtextblobs.cpp
@@ -50,7 +50,7 @@ protected:
SkPaint paint;
paint.setTextSize(385);
const char* text = "O";
- sk_tool_utils::set_portable_typeface(&paint);
+ sk_tool_utils::set_portable_typeface_always(&paint);
SkRect bounds;
paint.measureText(text, strlen(text), &bounds);