commit | 97f3cc2085ffa51e04637b33ae58bb87168d724a | [log] [tgz] |
---|---|---|
author | Mike Reed <reed@google.com> | Mon Dec 03 09:45:17 2018 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Mon Dec 03 15:20:36 2018 +0000 |
tree | d363909b66585a232dd0c39f83044cdee0683e1d | |
parent | b13658891bbde0ae34cc9098f096b8a5430a903e [diff] [blame] |
flag to convert to SkTextEncoding Bug: skia: Change-Id: I9628bcabc5c6f902b79009e4f21badff3e8cca94 Reviewed-on: https://skia-review.googlesource.com/c/173980 Commit-Queue: Mike Reed <reed@google.com> Reviewed-by: Mike Reed <reed@google.com>
diff --git a/samplecode/SampleAll.cpp b/samplecode/SampleAll.cpp index 5eb7ade..50239d6 100644 --- a/samplecode/SampleAll.cpp +++ b/samplecode/SampleAll.cpp
@@ -257,7 +257,7 @@ canvas->drawText(utf8, sizeof(utf8) - 1, x, y, paint); canvas->translate(0, SkIntToScalar(60)); - paint.setTextEncoding(SkPaint::kUTF8_TextEncoding); + paint.setTextEncoding(kUTF8_SkTextEncoding); canvas->restore(); }