diff options
author | 2015-01-29 10:26:37 -0800 | |
---|---|---|
committer | 2015-01-29 10:26:37 -0800 | |
commit | f75a130c459596c23595d1bf0654863ab5fe3541 (patch) | |
tree | ca0bad29cd97c7a6b2dd6e34284c419e536140a4 | |
parent | e702d9743af700211b3fd49687e0476aabd34012 (diff) |
enable subpixel text on the subpixel translate sample
BUG=skia:
Review URL: https://codereview.chromium.org/885783006
-rw-r--r-- | samplecode/SampleSubpixelTranslate.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/samplecode/SampleSubpixelTranslate.cpp b/samplecode/SampleSubpixelTranslate.cpp index 4695962c48..58ad07228d 100644 --- a/samplecode/SampleSubpixelTranslate.cpp +++ b/samplecode/SampleSubpixelTranslate.cpp @@ -71,6 +71,7 @@ protected: SkPaint paint; paint.setTextSize(48); + paint.setSubpixelText(true); paint.setAntiAlias(true); for (size_t i = 0; i < SK_ARRAY_COUNT(gLevels); ++i) { |