Lines Matching refs:familyName
284 void onGetFamilyName(int index, SkString* familyName) const override;
286 SkFontStyleSet* onMatchFamily(const char familyName[]) const override;
287 SkTypeface* onMatchFamilyStyle(const char familyName[],
289 SkTypeface* onMatchFamilyStyleCharacter(const char familyName[], const SkFontStyle&,
297 SkTypeface* onLegacyCreateTypeface(const char familyName[], SkFontStyle) const override;
300 HRESULT getByFamilyName(const WCHAR familyName[], IDWriteFontFamily** fontFamily) const;
469 void SkFontMgr_DirectWrite::onGetFamilyName(int index, SkString* familyName) const {
476 sk_get_locale_string(familyNames.get(), fLocaleName.get(), familyName);
486 SkFontStyleSet* SkFontMgr_DirectWrite::onMatchFamily(const char familyName[]) const {
487 if (!familyName) {
492 HRN(sk_cstring_to_wchar(familyName, &dwFamilyName));
505 SkTypeface* SkFontMgr_DirectWrite::onMatchFamilyStyle(const char familyName[],
507 sk_sp<SkFontStyleSet> sset(this->matchFamily(familyName));
736 SkTypeface* SkFontMgr_DirectWrite::onMatchFamilyStyleCharacter(const char familyName[],
745 if (familyName) {
746 HRN(sk_cstring_to_wchar(familyName, &dwFamilyNameLocal));
837 SkString familyName;
953 SkTypeface* SkFontMgr_DirectWrite::onLegacyCreateTypeface(const char familyName[],
956 if (familyName) {
958 if (SUCCEEDED(sk_cstring_to_wchar(familyName, &wideFamilyName))) {