commit | 12857d405c66ebdbb2174cc387318c0bd896f45e | [log] [tgz] |
---|---|---|
author | Ben Wagner <bungeman@google.com> | Fri Sep 25 14:17:30 2020 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Mon Sep 28 16:35:13 2020 +0000 |
tree | 7c90f15f54174537a66e0a08ac04e633fb1a2674 | |
parent | 8ff24492e2c97f384401dc21988c18ec8c6f608a [diff] |
Fix gms placing text in bounds. In the operation of taking the bounds of (horizontal text) and then drawing the text within those bounds it is necessary to draw the text at the origin of the bounds and not at the left edge of the bounds. Change-Id: I712e1713ca5e0be929b11f526f224141a5310cc2 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/319776 Reviewed-by: Herb Derby <herb@google.com> Commit-Queue: Ben Wagner <bungeman@google.com>