diff options
-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) { |