◆ EmbeddedSystemFontLoader()
◆ loadSystemFonts()
Implements SkFontMgr_Custom::SystemFontLoader.
Definition at line 26 of file SkFontMgr_custom_embedded.cpp.
28 {
31 auto stream = std::make_unique<SkMemoryStream>(fontEntry.
data, fontEntry.
size,
false);
33 }
34
35 if (families->
empty()) {
39 }
40 }
static void load_font_from_data(const SkFontScanner *scanner, std::unique_ptr< SkMemoryStream > stream, int index, SkFontMgr_Custom::Families *families)
void appendTypeface(sk_sp< SkTypeface > typeface)
void reset(T *ptr=nullptr)
◆ fHeader
The documentation for this class was generated from the following file: