Index: gm/surface.cpp |
diff --git a/gm/surface.cpp b/gm/surface.cpp |
index 913de994e4f016792ba06a65c25eb8a7dbb083ee..694a0d09aba1cb95e3ef661fa9a39c36c3624bf4 100644 |
--- a/gm/surface.cpp |
+++ b/gm/surface.cpp |
@@ -53,6 +53,7 @@ static void test_draw(SkCanvas* canvas, const char label[]) { |
paint.setColor(SK_ColorWHITE); |
paint.setTextSize(32); |
paint.setTextAlign(SkPaint::kCenter_Align); |
+ sk_tool_utils::set_portable_typeface(&paint); |
canvas->drawText(label, strlen(label), W / 2, H * 3 / 4, paint); |
} |