Index: gm/colortypexfermode.cpp |
diff --git a/gm/colortypexfermode.cpp b/gm/colortypexfermode.cpp |
index 855d11a1a4edd3b1a8ee8a2ff08ca4962baea403..7d540110a0fe05fd32a3bd52f1940804455ae750 100644 |
--- a/gm/colortypexfermode.cpp |
+++ b/gm/colortypexfermode.cpp |
@@ -42,7 +42,7 @@ protected: |
paint.setAntiAlias(true); |
paint.setShader(s)->unref(); |
- SkTypeface* orig = sk_tool_utils::create_portable_typeface("Times", |
+ SkTypeface* orig = sk_tool_utils::create_portable_typeface_always("serif", |
SkTypeface::kBold); |
if (NULL == orig) { |
orig = SkTypeface::RefDefault(); |
@@ -112,7 +112,7 @@ protected: |
SkPaint labelP; |
labelP.setAntiAlias(true); |
- sk_tool_utils::set_portable_typeface(&labelP); |
+ sk_tool_utils::set_portable_typeface_always(&labelP); |
labelP.setTextAlign(SkPaint::kCenter_Align); |
SkPaint textP; |