24 fList.push_back(std::move(fm));
29 for (
const auto& fm : fList) {
30 count += fm->countFamilies();
36 for (
const auto& fm : fList) {
37 const int count = fm->countFamilies();
39 return fm->getFamilyName(index, familyName);
46 for (
const auto& fm : fList) {
47 const int count = fm->countFamilies();
49 return fm->createStyleSet(index);
57 for (
const auto& fm : fList) {
58 if (
auto fs = fm->matchFamily(familyName)) {
67 for (
const auto& fm : fList) {
68 if (
auto tf = fm->matchFamilyStyle(family, style)) {
77 const char* bcp47[],
int bcp47Count,
80 for (
const auto& fm : fList) {
81 if (
auto tf = fm->matchFamilyStyleCharacter(familyName, style, bcp47, bcp47Count, uni)) {
void append(sk_sp< SkFontMgr >)
sk_sp< SkTypeface > onMakeFromStreamArgs(std::unique_ptr< SkStreamAsset >, const SkFontArguments &) const override
sk_sp< SkTypeface > onMakeFromFile(const char path[], int ttcIndex) const override
void onGetFamilyName(int index, SkString *familyName) const override
int onCountFamilies() const override
sk_sp< SkFontStyleSet > onMatchFamily(const char familyName[]) const override
sk_sp< SkTypeface > onMakeFromStreamIndex(std::unique_ptr< SkStreamAsset >, int ttcIndex) const override
sk_sp< SkTypeface > onMakeFromData(sk_sp< SkData >, int ttcIndex) const override
sk_sp< SkTypeface > onMatchFamilyStyleCharacter(const char familyName[], const SkFontStyle &, const char *bcp47[], int bcp47Count, SkUnichar character) const override
~SkOrderedFontMgr() override
sk_sp< SkTypeface > onMatchFamilyStyle(const char familyName[], const SkFontStyle &) const override
sk_sp< SkFontStyleSet > onCreateStyleSet(int index) const override
sk_sp< SkTypeface > onLegacyMakeTypeface(const char familyName[], SkFontStyle) const override
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir path