Lines Matching refs:familyName
116 bool isFixedPitch, const SkString familyName, TypefaceId id) in SkTypeface_Fuchsia() argument
118 /*sys_font=*/true, familyName) in SkTypeface_Fuchsia()
162 void onGetFamilyName(int index, SkString* familyName) const override;
163 SkFontStyleSet* onMatchFamily(const char familyName[]) const override;
165 SkTypeface* onMatchFamilyStyle(const char familyName[], const SkFontStyle&) const override;
166 SkTypeface* onMatchFamilyStyleCharacter(const char familyName[], const SkFontStyle&,
176 sk_sp<SkTypeface> onLegacyMakeTypeface(const char familyName[], SkFontStyle) const override;
181 sk_sp<SkTypeface> FetchTypeface(const char familyName[], const SkFontStyle& style,
201 SkFontStyleSet_Fuchsia(sk_sp<SkFontMgr_Fuchsia> font_manager, std::string familyName, in SkFontStyleSet_Fuchsia() argument
203 : fFontManager(font_manager), fFamilyName(familyName), fStyles(styles) {} in SkFontStyleSet_Fuchsia()
251 void SkFontMgr_Fuchsia::onGetFamilyName(int index, SkString* familyName) const { in onGetFamilyName()
253 familyName->reset(); in onGetFamilyName()
261 SkFontStyleSet* SkFontMgr_Fuchsia::onMatchFamily(const char familyName[]) const {
263 int result = fFontProvider->GetFamilyInfo(familyName, &familyInfo);
278 SkTypeface* SkFontMgr_Fuchsia::onMatchFamilyStyle(const char familyName[], argument
281 FetchTypeface(familyName, style, /*bcp47=*/nullptr,
287 SkTypeface* SkFontMgr_Fuchsia::onMatchFamilyStyleCharacter(const char familyName[], argument
292 FetchTypeface(familyName, style, bcp47, bcp47Count, character, /*allow_fallback=*/true,
320 sk_sp<SkTypeface> SkFontMgr_Fuchsia::onLegacyMakeTypeface(const char familyName[], argument
322 return sk_sp<SkTypeface>(matchFamilyStyle(familyName, style));
325 sk_sp<SkTypeface> SkFontMgr_Fuchsia::FetchTypeface(const char familyName[], argument
340 request.fallback_group = GetFallbackGroupByName(familyName);
344 if (!familyName || *familyName == '\0' ||
349 request.family = familyName;