aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm
diff options
context:
space:
mode:
authorGravatar mike@reedtribe.org <mike@reedtribe.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-09-10 01:43:42 +0000
committerGravatar mike@reedtribe.org <mike@reedtribe.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-09-10 01:43:42 +0000
commitad6aa5cc6070415fadef780b7db32a324ae9baeb (patch)
treee2f59b5dc90250948164bfe2f163758a6af3e75f /gm
parent396948bf4a8f8e4485929181373113fccfedf202 (diff)
enable lcdtext
git-svn-id: http://skia.googlecode.com/svn/trunk@5455 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gm')
-rw-r--r--gm/techtalk1.cpp1
1 files changed, 1 insertions, 0 deletions
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);