commit | 8e4a331c8a15d88e4b18e1bf7b23de0df81952bd | [log] [tgz] |
---|---|---|
author | Kevin Lubick <kjlubick@google.com> | Fri Dec 14 15:03:41 2018 -0500 |
committer | Kevin Lubick <kjlubick@google.com> | Fri Dec 14 21:32:21 2018 +0000 |
tree | 983702ca619725d726c14db298fafc918186379e | |
parent | 2b79d1ce45bf0d5f9a098e349966b5cf2504bce2 [diff] |
[canvaskit] Canvas API for loading fonts There's the barest hint of a "font manager" here. Basically, nothing smart to deal with bold or fallbacks. Maybe one day, we'll expose SkTypeface* matchStyleCSS3(const SkFontStyle& pattern); and do smart things for fallbacks, but for now that's not in the immediate future. Docs-Preview: https://skia.org/?cl=177067 Bug: skia: Change-Id: Iaeabcbf5ff4511a01b37c16c983e447c25b0e3e7 Reviewed-on: https://skia-review.googlesource.com/c/177067 Reviewed-by: Ben Wagner <bungeman@google.com>