enable lcdtext
authormike@reedtribe.org <mike@reedtribe.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 10 Sep 2012 01:43:42 +0000 (01:43 +0000)
committermike@reedtribe.org <mike@reedtribe.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 10 Sep 2012 01:43:42 +0000 (01:43 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@5455 2bbb7eff-a529-9590-31e7-b0007b416f81

gm/techtalk1.cpp

index 07ad3fcbdb8a77cfedb27ae9b77ea4e8ecf848f1..812bffe574776c7ce6bae9bdf36ab5a00f3bf669 100644 (file)
@@ -283,6 +283,7 @@ static void draw_image(SkCanvas* canvas, bool showGL, int flags) {
 static void draw_text(SkCanvas* canvas, bool showGL, int flags) {
     SkPaint paint;
     paint.setAntiAlias(true);
+    paint.setLCDRenderText(true);
     const char text[] = "Graphics at Google";
     size_t len = strlen(text);
     setFade(&paint, showGL);