Lines Matching refs:familyName
29 FontStyleSet(const char* familyName) : fFamilyName(familyName) {} in FontStyleSet() argument
111 void onGetFamilyName(int index, SkString* familyName) const override { in onGetFamilyName()
112 *familyName = fFamilies[index]->getFamilyName(); in onGetFamilyName()
120 SkFontStyleSet* onMatchFamily(const char familyName[]) const override { in onMatchFamily()
121 if (familyName) { in onMatchFamily()
122 if (strstr(familyName, "ono")) { in onMatchFamily()
125 if (strstr(familyName, "ans")) { in onMatchFamily()
128 if (strstr(familyName, "erif")) { in onMatchFamily()
132 if (strstr(familyName, "oji")) { in onMatchFamily()
135 if (strstr(familyName, "Planet")) { in onMatchFamily()
143 SkTypeface* onMatchFamilyStyle(const char familyName[], in onMatchFamilyStyle() argument
145 sk_sp<SkFontStyleSet> styleSet(this->matchFamily(familyName)); in onMatchFamilyStyle()
149 SkTypeface* onMatchFamilyStyleCharacter(const char familyName[], in onMatchFamilyStyleCharacter() argument
157 return this->matchFamilyStyle(familyName, style); in onMatchFamilyStyleCharacter()
176 sk_sp<SkTypeface> onLegacyMakeTypeface(const char familyName[], in onLegacyMakeTypeface() argument
178 if (familyName == nullptr) { in onLegacyMakeTypeface()
181 sk_sp<SkTypeface> typeface = sk_sp<SkTypeface>(this->matchFamilyStyle(familyName, style)); in onLegacyMakeTypeface()