Index: samplecode/SampleSubpixelTranslate.cpp |
diff --git a/samplecode/SampleSubpixelTranslate.cpp b/samplecode/SampleSubpixelTranslate.cpp |
index 4695962c48a3a4b25a430395270faa10e6145685..58ad07228d9a8ecbae3032e98d31017170055b80 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) { |