7#if defined(SK_FONTMGR_ANDROID_AVAILABLE)
8#include "third_party/skia/include/ports/SkFontMgr_android.h"
9#include "third_party/skia/include/ports/SkFontScanner_FreeType.h"
12#if defined(SK_FONTMGR_FREETYPE_EMPTY_AVAILABLE)
13#include "third_party/skia/include/ports/SkFontMgr_empty.h"
19 return {
"sans-serif"};
23#if defined(SK_FONTMGR_ANDROID_AVAILABLE)
24 static sk_sp<SkFontMgr> mgr =
25 SkFontMgr_New_Android(
nullptr, SkFontScanner_Make_FreeType());
26#elif defined(SK_FONTMGR_FREETYPE_EMPTY_AVAILABLE)
27 static sk_sp<SkFontMgr> mgr = SkFontMgr_New_Custom_Empty();
29 static sk_sp<SkFontMgr> mgr = SkFontMgr::RefEmpty();
std::vector< std::string > GetDefaultFontFamilies()
sk_sp< SkFontMgr > GetDefaultFontManager(uint32_t font_initialization_data)