From ad6aa5cc6070415fadef780b7db32a324ae9baeb Mon Sep 17 00:00:00 2001 From: "mike@reedtribe.org" Date: Mon, 10 Sep 2012 01:43:42 +0000 Subject: enable lcdtext git-svn-id: http://skia.googlecode.com/svn/trunk@5455 2bbb7eff-a529-9590-31e7-b0007b416f81 --- gm/techtalk1.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/gm/techtalk1.cpp b/gm/techtalk1.cpp index 07ad3fcbdb..812bffe574 100644 --- a/gm/techtalk1.cpp +++ b/gm/techtalk1.cpp @@ -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); -- cgit v1.2.3