Index: gm/tilemodes_scaled.cpp |
diff --git a/gm/tilemodes_scaled.cpp b/gm/tilemodes_scaled.cpp |
index 9b1fb613ea51636b4225737e0c5b76968173d825..360539ca499a6d512a2d23888def116d7874eaa4 100644 |
--- a/gm/tilemodes_scaled.cpp |
+++ b/gm/tilemodes_scaled.cpp |
@@ -110,6 +110,7 @@ protected: |
SkPaint p; |
SkString str; |
p.setAntiAlias(true); |
+ sk_tool_utils::set_portable_typeface(&p); |
p.setDither(true); |
p.setLooper(fLooper); |
str.printf("[%s,%s]", gModeNames[kx], gModeNames[ky]); |
@@ -151,6 +152,7 @@ protected: |
SkPaint p; |
SkString str; |
p.setAntiAlias(true); |
+ sk_tool_utils::set_portable_typeface(&p); |
p.setLooper(fLooper); |
str.printf("%s, %s", gColorTypeNames[i], gFilterNames[j]); |
canvas->drawText(str.c_str(), str.size(), scale*x, scale*(y + r.height() * 2 / 3), p); |
@@ -234,6 +236,7 @@ protected: |
SkPaint p; |
p.setAntiAlias(true); |
+ sk_tool_utils::set_portable_typeface(&p); |
p.setTextAlign(SkPaint::kCenter_Align); |
for (size_t kx = 0; kx < SK_ARRAY_COUNT(gModes); kx++) { |