diff options
Diffstat (limited to 'gm/textblobshader.cpp')
| -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()); |
