Index: gm/constcolorprocessor.cpp |
diff --git a/gm/constcolorprocessor.cpp b/gm/constcolorprocessor.cpp |
index 159bf0650a1c35ec27c9e974e611a7e64def1ad9..cea7986cd30568ea67a5182eabdc57cc20918d5f 100644 |
--- a/gm/constcolorprocessor.cpp |
+++ b/gm/constcolorprocessor.cpp |
@@ -25,7 +25,7 @@ |
class ConstColorProcessor : public GM { |
public: |
ConstColorProcessor() { |
- this->setBGColor(0xFFDDDDDD); |
+ this->setBGColor(sk_tool_utils::color_to_565(0xFFDDDDDD)); |
} |
protected: |
@@ -124,6 +124,7 @@ |
// Draw labels for the input to the processor and the processor to the right of |
// the test rect. The input label appears above the processor label. |
SkPaint labelPaint; |
+ sk_tool_utils::set_portable_typeface_always(&labelPaint); |
labelPaint.setAntiAlias(true); |
labelPaint.setTextSize(10.f); |
SkString inputLabel; |