Load OOP Mac system fonts without CGFont API
Match Skia in not creating buffer-based fonts through CGFonts and CTFontCreateWithGraphicsFont any more, but instead use CTFontManagerCreateFontDescriptorFromData. This enables cleanup in Skia removing the CGFont parameter from SkCreateTypefaceFromCTFont, after Skia moved to using CTFontManagerCreateFontDescriptorFromData in [1]. [1] https://skia-review.googlesource.com/c/skia/+/257052 Bug: 1033478 Change-Id: I4048b683659e40eead9939697c4900a935623627 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1964073 Commit-Queue: Dominik Röttsches <drott@chromium.org> Reviewed-by:Ben Wagner <bungeman@chromium.org> Reviewed-by:
Elly Fong-Jones <ellyjones@chromium.org> Reviewed-by:
Mark Mentovai <mark@chromium.org> Reviewed-by:
Nico Weber <thakis@chromium.org> Reviewed-by:
Matt Falkenhagen <falken@chromium.org> Cr-Commit-Position: refs/heads/master@{#734008}
Showing
Please register or sign in to comment