aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm
diff options
context:
space:
mode:
authorGravatar Hal Canary <halcanary@google.com>2017-01-11 15:53:25 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-01-11 21:27:29 +0000
commitd1c8e56423f4d1a879f3a7bcd24e2725d9b690a7 (patch)
tree7a054dc76e1818e3de7cfa553ff61ca511b13285 /gm
parentf046e15347373c20e42b1a25ecd87cbdb84de146 (diff)
SkUTF8_CountUnichars(s,l) and SkUTF8_NextUnichar(s,l) now safe.
Theory: We will accept blobs of data as utf-8 text without validation, but when it comes time to process it: count code poits or convert to code points, be careful to check for errors. TODO: SkTypeface::charsToGlyphs() needs to take a length. Change-Id: Id8110ab43dbffce96faffdda1e0bdaa39cad40e4 Reviewed-on: https://skia-review.googlesource.com/6849 Commit-Queue: Hal Canary <halcanary@google.com> Reviewed-by: Herb Derby <herb@google.com>
Diffstat (limited to 'gm')
0 files changed, 0 insertions, 0 deletions