• Home
  • Raw
  • Download

Lines Matching refs:familyName

84 static SkUniqueCFRef<CTFontDescriptorRef> create_descriptor(const char familyName[],  in create_descriptor()  argument
157 if (familyName) { in create_descriptor()
158 SkUniqueCFRef<CFStringRef> cfFontName = make_CFString(familyName); in create_descriptor()
200 static sk_sp<SkTypeface> create_from_name(const char familyName[], const SkFontStyle& style) { in create_from_name() argument
201 SkUniqueCFRef<CTFontDescriptorRef> desc = create_descriptor(familyName, style); in create_from_name()
375 SkUniqueCFRef<CFTypeRef> familyName( in SkCopyAvailableFontFamilyNames() local
377 if (familyName) { in SkCopyAvailableFontFamilyNames()
378 CFSetAddValue(familyNameSet, familyName.get()); in SkCopyAvailableFontFamilyNames()
458 void onGetFamilyName(int index, SkString* familyName) const override { in onGetFamilyName()
460 SkStringFromCFString(this->getFamilyNameAt(index), familyName); in onGetFamilyName()
462 familyName->reset(); in onGetFamilyName()
473 SkFontStyleSet* onMatchFamily(const char familyName[]) const override { in onMatchFamily()
474 if (!familyName) { in onMatchFamily()
477 SkUniqueCFRef<CFStringRef> cfName = make_CFString(familyName); in onMatchFamily()
481 SkTypeface* onMatchFamilyStyle(const char familyName[], in onMatchFamilyStyle() argument
483 SkUniqueCFRef<CTFontDescriptorRef> desc = create_descriptor(familyName, style); in onMatchFamilyStyle()
487 SkTypeface* onMatchFamilyStyleCharacter(const char familyName[], in onMatchFamilyStyleCharacter() argument
491 SkUniqueCFRef<CTFontDescriptorRef> desc = create_descriptor(familyName, style); in onMatchFamilyStyleCharacter()
601 …sk_sp<SkTypeface> onLegacyMakeTypeface(const char familyName[], SkFontStyle style) const override { in onLegacyMakeTypeface() argument
602 if (familyName) { in onLegacyMakeTypeface()
603 familyName = map_css_names(familyName); in onLegacyMakeTypeface()
606 sk_sp<SkTypeface> face = create_from_name(familyName, style); in onLegacyMakeTypeface()