Searched refs:fontCollections (Results 1 – 3 of 3) sorted by relevance
52 std::vector<std::shared_ptr<FontCollection>> fontCollections; in readVector() local53 fontCollections.reserve(fontCollectionsCount); in readVector()55 fontCollections.emplace_back(new FontCollection(reader, allFontFamilies)); in readVector()57 return fontCollections; in readVector()62 const std::vector<std::shared_ptr<FontCollection>>& fontCollections) { in writeVector() argument66 collectAllFontFamilies(fontCollections, &allFontFamilies, &fontFamilyToIndexMap); in writeVector()72 writer->write<uint32_t>(fontCollections.size()); in writeVector()73 for (const auto& fontCollection : fontCollections) { in writeVector()211 const std::vector<std::shared_ptr<FontCollection>>& fontCollections,
305 std::vector<std::shared_ptr<minikin::FontCollection>> fontCollections; in Typeface_writeTypefaces() local308 bool inserted = fcToIndex.emplace(typeface->fFontCollection, fontCollections.size()).second; in Typeface_writeTypefaces()310 fontCollections.push_back(typeface->fFontCollection); in Typeface_writeTypefaces()313 minikin::FontCollection::writeVector<writeMinikinFontSkia>(&writer, fontCollections); in Typeface_writeTypefaces()328 std::vector<std::shared_ptr<minikin::FontCollection>> fontCollections = in Typeface_readTypefaces() local335 typeface->fFontCollection = fontCollections[reader.read<uint32_t>()]; in Typeface_readTypefaces()
177 const std::vector<std::shared_ptr<FontCollection>>& fontCollections, in collectAllFontFamilies() argument180 for (const auto& fontCollection : fontCollections) { in collectAllFontFamilies()