aboutsummaryrefslogtreecommitdiffhomepage
path: root/samplecode
diff options
context:
space:
mode:
authorGravatar Herb Derby <herb@google.com>2018-05-01 11:57:56 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-05-01 21:12:15 +0000
commitc86c5c0144b85d0bc8ec791f9609ee2d4e7d835a (patch)
treedc0e00ea79487ce08f90fca2b4408b525271b82c /samplecode
parent0f91bb874dc3201dbc3cce3b946f66e3e484c6fc (diff)
Remove devKerning
Dev kerning is not supported by any scalers. This is mostly removed. The remaining fields fRsbDelta and fLsbDelta are kept to keep Android compiling. Change-Id: If1a9ee9bb599d4e1bdf4b3751ac0c65246350809 Reviewed-on: https://skia-review.googlesource.com/124921 Reviewed-by: Ben Wagner <bungeman@google.com> Commit-Queue: Herb Derby <herb@google.com>
Diffstat (limited to 'samplecode')
-rw-r--r--samplecode/SampleText.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/samplecode/SampleText.cpp b/samplecode/SampleText.cpp
index bb3507ef41..1b67103ffd 100644
--- a/samplecode/SampleText.cpp
+++ b/samplecode/SampleText.cpp
@@ -92,8 +92,7 @@ protected:
SkPaint paint;
const char* s = "Lorem ipsum dolor sit amet, consectetuer adipiscing elit";
- paint.setFlags(paint.getFlags() | SkPaint::kAntiAlias_Flag
- | SkPaint::kDevKernText_Flag);
+ paint.setFlags(paint.getFlags() | SkPaint::kAntiAlias_Flag);
paint.setTextSize(SkIntToScalar(14));
canvas.drawString(s, SkIntToScalar(8), SkIntToScalar(14), paint);
}