update complexclip to portable
authorcaryclark <caryclark@google.com>
Fri, 12 Jun 2015 17:00:11 +0000 (10:00 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 12 Jun 2015 17:00:11 +0000 (10:00 -0700)
TBR=djsollen@google.com

Review URL: https://codereview.chromium.org/1179713007

gm/complexclip.cpp

index 5603655..038b142 100644 (file)
@@ -23,7 +23,7 @@ public:
     : fDoAAClip(aaclip)
     , fDoSaveLayer(saveLayer)
     , fInvertDraw(invertDraw) {
-        this->setBGColor(0xFFDDDDDD);
+        this->setBGColor(0xFFDEDFDE);
     }
 
 protected:
@@ -83,7 +83,7 @@ protected:
 
         SkPaint paint;
         paint.setAntiAlias(true);
-        sk_tool_utils::set_portable_typeface(&paint);
+        sk_tool_utils::set_portable_typeface_always(&paint);
         paint.setTextSize(SkIntToScalar(20));
 
         static const struct {