turn on antialiased text
authorcaryclark <caryclark@google.com>
Wed, 10 Jun 2015 17:34:08 +0000 (10:34 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 10 Jun 2015 17:34:08 +0000 (10:34 -0700)
Aliased text didn't work with msaa16, so make it all
antialiased.

TBR=reed@google.com

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

gm/aaxfermodes.cpp

index 750b423..378f2bb 100644 (file)
@@ -67,9 +67,7 @@ protected:
     }
 
     void onOnceBeforeDraw() override {
-#if 0
         fLabelPaint.setAntiAlias(true);
-#endif
         sk_tool_utils::set_portable_typeface_always(&fLabelPaint);
         fLabelPaint.setTextSize(5 * kShapeSize/8);
         fLabelPaint.setSubpixelText(true);