HomeSort by relevance Sort by last modified time
    Searched refs:Families (Results 1 - 4 of 4) sorted by null

  /external/skia/src/ports/
SkFontMgr_custom_empty.cpp 16 SkFontMgr_Custom::Families* families) const override
19 families->push_back().reset(family);
SkFontMgr_custom.h 95 * This class is used by SkFontMgr_Custom to hold SkTypeface_Custom families.
125 typedef SkTArray<sk_sp<SkFontStyleSet_Custom>> Families;
129 virtual void loadSystemFonts(const SkTypeface_FreeType::Scanner&, Families*) const = 0;
153 Families fFamilies;
SkFontMgr_custom_directory.cpp 19 SkFontMgr_Custom::Families* families) const override
21 load_directory_fonts(scanner, fBaseDirectory, ".ttf", families);
22 load_directory_fonts(scanner, fBaseDirectory, ".ttc", families);
23 load_directory_fonts(scanner, fBaseDirectory, ".otf", families);
24 load_directory_fonts(scanner, fBaseDirectory, ".pfb", families);
26 if (families->empty()) {
28 families->push_back().reset(family);
34 static SkFontStyleSet_Custom* find_family(SkFontMgr_Custom::Families& families,
    [all...]
SkFontMgr_custom_embedded.cpp 21 SkFontMgr_Custom::Families* families) const override
25 load_embedded_font(scanner, fontEntry.data, fontEntry.size, i, families);
28 if (families->empty()) {
30 families->push_back().reset(family);
36 static SkFontStyleSet_Custom* find_family(SkFontMgr_Custom::Families& families,
39 for (int i = 0; i < families.count(); ++i) {
40 if (families[i]->getFamilyName().equals(familyName)) {
41 return families[i].get()
    [all...]

Completed in 70 milliseconds