Searched refs:fFontProvider (Results 1 – 6 of 6) sorted by relevance
18 fFontProvider = sk_make_sp<TypefaceFontProvider>(); in TestFontCollection()28 fFontsFound = fFontProvider->countFamilies(); in TestFontCollection()30 this->setTestFontManager(fFontProvider); in TestFontCollection()32 this->setAssetFontManager(fFontProvider); in TestFontCollection()48 fFontProvider->registerTypeface(SkTypeface::MakeFromData(data)); in addFontFromFile()50 … fFontProvider->registerTypeface(SkTypeface::MakeFromData(data), SkString(familyName.c_str())); in addFontFromFile()
18 sk_sp<TypefaceFontProvider> fFontProvider; variable
68 , fFontProvider(sk_make_sp<TypefaceFontProvider>()) { in ResourceFontCollection()88 fFontProvider->registerTypeface(SkTypeface::MakeFromFile(file_path.c_str())); in ResourceFontCollection()92 this->setTestFontManager(std::move(fFontProvider)); in ResourceFontCollection()94 this->setAssetFontManager(std::move(fFontProvider)); in ResourceFontCollection()108 sk_sp<TypefaceFontProvider> fFontProvider; member in __anon52de05410111::ResourceFontCollection
190 mutable fuchsia::fonts::ProviderSyncPtr fFontProvider; member in SkFontMgr_Fuchsia242 : fFontProvider(std::move(provider)) {} in SkFontMgr_Fuchsia()263 int result = fFontProvider->GetFamilyInfo(familyName, &familyInfo);357 int result = fFontProvider->GetFont(std::move(request), &response);
265 mutable fuchsia::fonts::ProviderSyncPtr fFontProvider; member in SkFontMgr_Fuchsia317 : fFontProvider(std::move(provider)) {} in SkFontMgr_Fuchsia()341 int result = fFontProvider->GetFontFamilyInfo(typedFamilyName, &familyInfo); in onMatchFamily()443 int result = fFontProvider->GetTypeface(std::move(request), &response); in FetchTypeface()
78 , fFontProvider(sk_make_sp<TypefaceFontProvider>()) { in ResourceFontCollection()98 fFontProvider->registerTypeface(SkTypeface::MakeFromFile(file_path.c_str())); in ResourceFontCollection()102 this->setTestFontManager(std::move(fFontProvider)); in ResourceFontCollection()104 this->setAssetFontManager(std::move(fFontProvider)); in ResourceFontCollection()118 sk_sp<TypefaceFontProvider> fFontProvider; member in __anona632c1c10111::ResourceFontCollection