Lines Matching refs:families
21 SkFontMgr_Custom::Families* families) const override in loadSystemFonts()
25 load_embedded_font(scanner, fontEntry.data, fontEntry.size, i, families); in loadSystemFonts()
28 if (families->empty()) { in loadSystemFonts()
30 families->push_back().reset(family); in loadSystemFonts()
36 static SkFontStyleSet_Custom* find_family(SkFontMgr_Custom::Families& families, in find_family() argument
39 for (int i = 0; i < families.count(); ++i) { in find_family()
40 if (families[i]->getFamilyName().equals(familyName)) { in find_family()
41 return families[i].get(); in find_family()
49 SkFontMgr_Custom::Families* families) in load_embedded_font() argument
70 SkFontStyleSet_Custom* addTo = find_family(*families, realname.c_str()); in load_embedded_font()
73 families->push_back().reset(addTo); in load_embedded_font()