commit | c9ca00910a83733c3429b178a39ae48c7270d583 | [log] [tgz] |
---|---|---|
author | Ben Wagner <bungeman@google.com> | Tue Feb 15 11:43:03 2022 -0500 |
committer | SkCQ <skcq-be@skia-corp.google.com.iam.gserviceaccount.com> | Tue Feb 15 21:42:23 2022 +0000 |
tree | 56cf3b493cf5573eff2978e1a3990da5d72e929a | |
parent | 85e7f31e6db83b0a731647b09789d33c7ae1aacc [diff] |
Support for COLR foreground color in CoreText. COLR fonts can use a magic palette index value 0xFFFF to indicate the foreground color of the drawing context. Modify the CoreText port to properly indicate when the foreground color is needed and use it. Bug: skia:12576 Change-Id: I14818b34fbe40ee508ed720510be53bc289c748a Reviewed-on: https://skia-review.googlesource.com/c/skia/+/509178 Reviewed-by: Herb Derby <herb@google.com> Commit-Queue: Ben Wagner <bungeman@google.com>