Index: gm/textblobshader.cpp |
diff --git a/gm/textblobshader.cpp b/gm/textblobshader.cpp |
index bd5ea221d125fb4a1cca1484f0db764403031659..3b2a9a5167f64cba5285e3cef6b16417497f380c 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()); |