commit | 7880a8f62967bc8cd953538ba057d614e4e76a91 | [log] [tgz] |
---|---|---|
author | Ben Wagner <bungeman@google.com> | Thu Mar 16 21:42:18 2023 -0400 |
committer | SkCQ <skcq-be@skia-corp.google.com.iam.gserviceaccount.com> | Fri Mar 17 18:56:49 2023 +0000 |
tree | dde7813c4f6e95a0878a67ba217e1b50b400cdab | |
parent | 9400df79e8387f914a70a62cfc61fa0aa21e0353 [diff] |
Add tests for SkFontMgr::matchFamilyStyle Ensure that matchFamilyStyle returns nullptr when it should and doesn't when it shouldn't. Update SkFontMgr_Mac to pass the tests. Change-Id: Ia8faa68f9961095454b8c0e8d792073516b33314 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/657658 Commit-Queue: Ben Wagner <bungeman@google.com> Reviewed-by: Herb Derby <herb@google.com>