Searched refs:typefaces (Results 1 – 3 of 3) sorted by relevance
65 std::vector<std::shared_ptr<FontFamily>> typefaces; in FontCollection() local66 typefaces.push_back(typeface); in FontCollection()67 init(typefaces); in FontCollection()70 FontCollection::FontCollection(const vector<std::shared_ptr<FontFamily>>& typefaces) : mMaxChar(0) { in FontCollection() argument71 init(typefaces); in FontCollection()74 void FontCollection::init(const vector<std::shared_ptr<FontFamily>>& typefaces) { in init() argument77 size_t nTypefaces = typefaces.size(); in init()80 const std::shared_ptr<FontFamily>& family = typefaces[i]; in init()
298 std::vector<Typeface*> typefaces; in Typeface_writeTypefaces() local299 typefaces.reserve(faces.size()); in Typeface_writeTypefaces()301 typefaces.push_back(toTypeface(faces[i])); in Typeface_writeTypefaces()307 for (Typeface* typeface : typefaces) { in Typeface_writeTypefaces()314 writer.write<uint32_t>(typefaces.size()); in Typeface_writeTypefaces()315 for (Typeface* typeface : typefaces) { in Typeface_writeTypefaces()
40 explicit FontCollection(const std::vector<std::shared_ptr<FontFamily>>& typefaces);229 void init(const std::vector<std::shared_ptr<FontFamily>>& typefaces);