enable subpixel text on the subpixel translate sample

BUG=skia:

Review URL: https://codereview.chromium.org/885783006
This commit is contained in:
humper 2015-01-29 10:26:37 -08:00 committed by Commit bot
parent e702d9743a
commit f75a130c45

View File

@ -71,6 +71,7 @@ protected:
SkPaint paint; SkPaint paint;
paint.setTextSize(48); paint.setTextSize(48);
paint.setSubpixelText(true);
paint.setAntiAlias(true); paint.setAntiAlias(true);
for (size_t i = 0; i < SK_ARRAY_COUNT(gLevels); ++i) { for (size_t i = 0; i < SK_ARRAY_COUNT(gLevels); ++i) {