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> |
||
---|---|---|
animations | ||
bench | ||
bin | ||
build/fuchsia | ||
build_overrides | ||
client_utils/android | ||
demos.skia.org | ||
dm | ||
docker | ||
docs/examples | ||
example | ||
experimental | ||
fuzz | ||
gm | ||
gn | ||
include | ||
infra | ||
modules | ||
platform_tools | ||
resources | ||
samplecode | ||
site | ||
specs | ||
src | ||
tests | ||
third_party | ||
tools | ||
.clang-format | ||
.clang-tidy | ||
.gitignore | ||
.gn | ||
AUTHORS | ||
BUILD.gn | ||
codereview.settings | ||
CONTRIBUTING | ||
CQ_COMMITTERS | ||
DEPS | ||
go.mod | ||
go.sum | ||
LICENSE | ||
OWNERS | ||
PRESUBMIT.py | ||
public.bzl | ||
README | ||
README.chromium | ||
RELEASE_NOTES.txt | ||
whitespace.txt |
Skia is a complete 2D graphic library for drawing Text, Geometries, and Images. See full details, and build instructions, at https://skia.org.