Index: gm/imageblur2.cpp |
diff --git a/gm/imageblur2.cpp b/gm/imageblur2.cpp |
index 480f09390f27bd5ac999e279793bd960bbcf16a2..58e40961e4b9355f3c7360c4e4788d9be7671e5d 100644 |
--- a/gm/imageblur2.cpp |
+++ b/gm/imageblur2.cpp |
@@ -64,7 +64,8 @@ protected: |
SkRandom rand; |
SkPaint textPaint; |
textPaint.setAntiAlias(false); |
- textPaint.setColor(rand.nextBits(24) | 0xFF000000); |
+ textPaint.setColor(sk_tool_utils::color_to_565(rand.nextBits(24) | 0xFF000000)); |
+ sk_tool_utils::set_portable_typeface(&textPaint); |
textPaint.setTextSize(textSize); |
for (int i = 0; i < testStringCount; i++) { |