d71cf40301
This belongs on a SkTypeface which might have a back pointer to a font collection in which it can do lookup. It makes little sense to pass a random typeface into a potentially incompatible SkFontMgr. Some of the existing implementations will crash if this happens. This initial commit is 'conservative' in that it removes the public API, the backing onMatchFaceStyle is left intact to avoid breaking implementors (as opposed to users). It may also be used as an implementation detail in a future SkTypeface API when the typeface holds a reference on its collection. It appears there are no users of this API and it is also untested. Change-Id: I6e06f918ad73a500c254746b3957c3579fab3b9c Reviewed-on: https://skia-review.googlesource.com/c/skia/+/299198 Reviewed-by: Herb Derby <herb@google.com> Commit-Queue: Ben Wagner <bungeman@google.com> |
||
---|---|---|
.. | ||
android | ||
c | ||
codec | ||
config | ||
core | ||
docs | ||
effects | ||
encode | ||
gpu | ||
pathops | ||
ports | ||
private | ||
svg | ||
third_party | ||
utils |