commit | 4220ffbaf2adbee4405379fc6d196ee257f3b1b2 | [log] [tgz] |
---|---|---|
author | Jason Simmons <jsimmons@google.com> | Mon May 16 13:32:52 2022 -0700 |
committer | SkCQ <skcq-be@skia-corp.google.com.iam.gserviceaccount.com> | Tue May 17 00:40:39 2022 +0000 |
tree | e401765c064cc4217b6fa9f36490ee521bb079cd | |
parent | add9e135dd9be3c8252ae096cb4157a37d091532 [diff] |
Fix the start/end indexes used for font features in SkParagraph Font feature start/end indexes must be relative to the start of the utf8 buffer passed to SkShaper. SkParagraph had been passing indexes based on the start of the block. See https://github.com/flutter/flutter/issues/103615 Change-Id: Ie15611cb05e3532fc34d66724ac347b9bddc3c8c Reviewed-on: https://skia-review.googlesource.com/c/skia/+/540157 Reviewed-by: Julia Lavrova <jlavrova@google.com> Reviewed-by: Ben Wagner <bungeman@google.com> Commit-Queue: Jason Simmons <jsimmons@google.com>