Index: gm/fontcache.cpp |
diff --git a/gm/fontcache.cpp b/gm/fontcache.cpp |
index 5f1141e1e9053271353df11a8c07811bfb59f51d..eb841b0d8a8c0b2bb158348836ce2c34ec5cda4f 100644 |
--- a/gm/fontcache.cpp |
+++ b/gm/fontcache.cpp |
@@ -40,8 +40,8 @@ protected: |
} |
void onOnceBeforeDraw() override { |
- fTypefaces[0] = sk_tool_utils::create_portable_typeface("serif", SkTypeface::kItalic); |
- fTypefaces[1] = sk_tool_utils::create_portable_typeface("sans-serif", SkTypeface::kItalic); |
+ fTypefaces[0] = sk_tool_utils::create_portable_typeface_always("serif", SkTypeface::kItalic); |
+ fTypefaces[1] = sk_tool_utils::create_portable_typeface_always("sans-serif", SkTypeface::kItalic); |
} |
void onDraw(SkCanvas* canvas) override { |