diff options
author | caryclark <caryclark@google.com> | 2015-07-28 11:55:49 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-07-28 11:55:50 -0700 |
commit | efa1ece07ecbf4a50bbd7afe60e3fc64a63d104b (patch) | |
tree | f09599ba6a67da827a705e1a6e4e1a5426647f27 | |
parent | d12e6ffa5cc1c1af47bf73c7c127d8d7f7443058 (diff) |
gm missed portable text in textblobshader
TBR=reed@google.com
Review URL: https://codereview.chromium.org/1263593004
-rw-r--r-- | gm/textblobshader.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gm/textblobshader.cpp b/gm/textblobshader.cpp index bd5ea221d1..3b2a9a5167 100644 --- a/gm/textblobshader.cpp +++ b/gm/textblobshader.cpp @@ -20,6 +20,7 @@ class TextBlobShaderGM : public skiagm::GM { public: TextBlobShaderGM(const char* txt) { SkPaint p; + sk_tool_utils::set_portable_typeface(&p); size_t txtLen = strlen(txt); fGlyphs.append(p.textToGlyphs(txt, txtLen, NULL)); p.textToGlyphs(txt, txtLen, fGlyphs.begin()); |