5#ifndef FLUTTER_TXT_SRC_TXT_FONT_ASSET_PROVIDER_H_
6#define FLUTTER_TXT_SRC_TXT_FONT_ASSET_PROVIDER_H_
10#include "third_party/skia/include/core/SkFontMgr.h"
20 virtual sk_sp<SkFontStyleSet>
MatchFamily(
const std::string& family_name) = 0;
virtual ~FontAssetProvider()=default
static std::string CanonicalFamilyName(std::string family_name)
virtual size_t GetFamilyCount() const =0
virtual sk_sp< SkFontStyleSet > MatchFamily(const std::string &family_name)=0
virtual std::string GetFamilyName(int index) const =0