Index: gm/shadertext.cpp |
diff --git a/gm/shadertext.cpp b/gm/shadertext.cpp |
index 6845fa1c5ce41c6ef82da466ab76cfd9789e0a79..599cff3469e7898db57e0392a50b84eeabe457db 100644 |
--- a/gm/shadertext.cpp |
+++ b/gm/shadertext.cpp |
@@ -87,7 +87,7 @@ static const GradMaker gGradMakers[] = { |
class ShaderTextGM : public GM { |
public: |
ShaderTextGM() { |
- this->setBGColor(0xFFDDDDDD); |
+ this->setBGColor(sk_tool_utils::color_to_565(0xFFDDDDDD)); |
} |
protected: |
@@ -144,7 +144,7 @@ protected: |
SkPaint paint; |
paint.setDither(true); |
paint.setAntiAlias(true); |
- sk_tool_utils::set_portable_typeface(&paint); |
+ sk_tool_utils::set_portable_typeface_always(&paint); |
paint.setTextSize(SkIntToScalar(pointSize)); |
canvas->save(); |