diff options
author | caryclark <caryclark@google.com> | 2015-07-29 06:58:40 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-07-29 06:58:40 -0700 |
commit | f1f8bd58513848440d76e49cc3fde585bc888ff5 (patch) | |
tree | b77aeb726054d6ac55e2f1160c2c0b94b1f955c0 /gm/dstreadshuffle.cpp | |
parent | 16ed6adb65e09fdb486a9c8e9c07505c26f5c34e (diff) |
fix dstreadshuffle text portable gm
TBR=reed@google.com
Review URL: https://codereview.chromium.org/1259093004
Diffstat (limited to 'gm/dstreadshuffle.cpp')
-rw-r--r-- | gm/dstreadshuffle.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gm/dstreadshuffle.cpp b/gm/dstreadshuffle.cpp index 798f04096a..8cdccbc8f8 100644 --- a/gm/dstreadshuffle.cpp +++ b/gm/dstreadshuffle.cpp @@ -87,6 +87,7 @@ protected: case kText_ShapeType: { const char* text = "Hello!"; paint->setTextSize(30); + sk_tool_utils::set_portable_typeface(paint); canvas->drawText(text, strlen(text), 0, 0, *paint); } default: |