static sk_sp<SkTypeface> create_font(const char* name, SkFontStyle style) { static sk_sp<SkFontMgr> portableFontMgr = MakePortableFontMgr(); return portableFontMgr->legacyMakeTypeface(name, style); }