From: mike@reedtribe.org Date: Mon, 10 Sep 2012 01:43:42 +0000 (+0000) Subject: enable lcdtext X-Git-Tag: submit/tizen/20180928.044319~14906 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ad6aa5cc6070415fadef780b7db32a324ae9baeb;p=platform%2Fupstream%2FlibSkiaSharp.git enable lcdtext git-svn-id: http://skia.googlecode.com/svn/trunk@5455 2bbb7eff-a529-9590-31e7-b0007b416f81 --- 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);