commit | 7ef3e145160fbe99223249b3cff74fb64df6e7e7 | [log] [tgz] |
---|---|---|
author | Florin Malita <fmalita@chromium.org> | Mon Apr 08 18:04:20 2019 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Mon Apr 08 22:48:08 2019 +0000 |
tree | 7bdd9d59d664d689ec0c630b56b2cf6b38f40bfa | |
parent | 2f08a4043b26370aa24f713f5960433af8dd398f [diff] |
[skottie] More snug kTop Shaper alignment The current implementation relies on SkShaper ascent values for top text box alignment, but the results are not as visually accurate as AE (or Lottie). Use the computed tight bounds instead. Change-Id: I4447a834fe3cae398fc887766daa68802e7f50a5 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/206684 Reviewed-by: Ben Wagner <bungeman@google.com> Commit-Queue: Florin Malita <fmalita@chromium.org>