Index: gm/samplerstress.cpp |
diff --git a/gm/samplerstress.cpp b/gm/samplerstress.cpp |
index ec072708cbcf2695a05758b5018e18b4adaae994..38b94bf03a81c665d0a67c097284e2d365f4c4a3 100644 |
--- a/gm/samplerstress.cpp |
+++ b/gm/samplerstress.cpp |
@@ -101,6 +101,7 @@ protected: |
paint.setTextSize(72); |
paint.setShader(fShader.get()); |
paint.setMaskFilter(fMaskFilter.get()); |
+ sk_tool_utils::set_portable_typeface(&paint); |
SkRect temp; |
temp.set(SkIntToScalar(115), |
@@ -131,7 +132,7 @@ protected: |
SkIntToScalar(100), SkIntToScalar(100), |
paint2); |
- paint2.setColor(SK_ColorGRAY); |
+ paint2.setColor(sk_tool_utils::color_to_565(SK_ColorGRAY)); |
canvas->drawPath(path, paint2); |
} |