Home
last modified time | relevance | path

Searched refs:dwFamilyName (Results 1 – 4 of 4) sorted by relevance

/third_party/skia/src/ports/
DSkRemotableFontMgr_win_dw.cpp185 SkSMallocWCHAR dwFamilyName; in matchName() local
187 HR_GENERAL(getDefaultFontFamilyName(&dwFamilyName), in matchName()
190 HR_GENERAL(sk_cstring_to_wchar(familyName, &dwFamilyName), in matchName()
196 HR_GENERAL(fFontCollection->FindFamilyName(dwFamilyName.get(), &index, &exists), in matchName()
211 SkSMallocWCHAR dwFamilyName; in matchNameStyle() local
213 HR_GENERAL(getDefaultFontFamilyName(&dwFamilyName), nullptr, identity); in matchNameStyle()
215 HR_GENERAL(sk_cstring_to_wchar(familyName, &dwFamilyName), nullptr, identity); in matchNameStyle()
220 HR_GENERAL(fFontCollection->FindFamilyName(dwFamilyName.get(), &index, &exists), in matchNameStyle()
371 SkSMallocWCHAR dwFamilyName; in matchNameStyleCharacter() local
373 HR_GENERAL(getDefaultFontFamilyName(&dwFamilyName), nullptr, identity); in matchNameStyleCharacter()
[all …]
DSkFontMgr_win_dw.cpp365 sk_sp<SkTypeface> fallback(const WCHAR* dwFamilyName, DWriteStyle,
367 sk_sp<SkTypeface> layoutFallback(const WCHAR* dwFamilyName, DWriteStyle,
568 SkSMallocWCHAR dwFamilyName; in onMatchFamily() local
569 HRN(sk_cstring_to_wchar(familyName, &dwFamilyName)); in onMatchFamily()
573 HRNM(fFontCollection->FindFamilyName(dwFamilyName.get(), &index, &exists), in onMatchFamily()
829 const WCHAR* dwFamilyName = nullptr; in onMatchFamilyStyleCharacter() local
833 dwFamilyName = dwFamilyNameLocal; in onMatchFamilyStyleCharacter()
849 return this->fallback(dwFamilyName, dwStyle, dwBcp47->get(), character).release(); in onMatchFamilyStyleCharacter()
853 return this->layoutFallback(dwFamilyName, dwStyle, dwBcp47->get(), character).release(); in onMatchFamilyStyleCharacter()
856 sk_sp<SkTypeface> SkFontMgr_DirectWrite::fallback(const WCHAR* dwFamilyName, in fallback() argument
[all …]
/third_party/flutter/skia/src/ports/
DSkRemotableFontMgr_win_dw.cpp185 SkSMallocWCHAR dwFamilyName; in matchName() local
187 HR_GENERAL(getDefaultFontFamilyName(&dwFamilyName), in matchName()
190 HR_GENERAL(sk_cstring_to_wchar(familyName, &dwFamilyName), in matchName()
196 HR_GENERAL(fFontCollection->FindFamilyName(dwFamilyName.get(), &index, &exists), in matchName()
211 SkSMallocWCHAR dwFamilyName; in matchNameStyle() local
213 HR_GENERAL(getDefaultFontFamilyName(&dwFamilyName), nullptr, identity); in matchNameStyle()
215 HR_GENERAL(sk_cstring_to_wchar(familyName, &dwFamilyName), nullptr, identity); in matchNameStyle()
220 HR_GENERAL(fFontCollection->FindFamilyName(dwFamilyName.get(), &index, &exists), in matchNameStyle()
371 SkSMallocWCHAR dwFamilyName; in matchNameStyleCharacter() local
373 HR_GENERAL(getDefaultFontFamilyName(&dwFamilyName), nullptr, identity); in matchNameStyleCharacter()
[all …]
DSkFontMgr_win_dw.cpp304 sk_sp<SkTypeface> fallback(const WCHAR* dwFamilyName, DWriteStyle,
306 sk_sp<SkTypeface> layoutFallback(const WCHAR* dwFamilyName, DWriteStyle,
497 SkSMallocWCHAR dwFamilyName; in onMatchFamily() local
498 HRN(sk_cstring_to_wchar(familyName, &dwFamilyName)); in onMatchFamily()
502 HRNM(fFontCollection->FindFamilyName(dwFamilyName.get(), &index, &exists), in onMatchFamily()
754 const WCHAR* dwFamilyName = nullptr; in onMatchFamilyStyleCharacter() local
758 dwFamilyName = dwFamilyNameLocal; in onMatchFamilyStyleCharacter()
774 return this->fallback(dwFamilyName, dwStyle, dwBcp47->get(), character).release(); in onMatchFamilyStyleCharacter()
778 return this->layoutFallback(dwFamilyName, dwStyle, dwBcp47->get(), character).release(); in onMatchFamilyStyleCharacter()
781 sk_sp<SkTypeface> SkFontMgr_DirectWrite::fallback(const WCHAR* dwFamilyName, in fallback() argument
[all …]