Searched refs:fontCollections (Results 1 – 3 of 3) sorted by relevance
263 std::vector<std::shared_ptr<FontCollection>> fontCollections; in readVector() local264 fontCollections.reserve(count); in readVector()266 fontCollections.emplace_back(new FontCollection(reader, allFontFamilies)); in readVector()268 return fontCollections; in readVector()273 BufferWriter* writer, const std::vector<std::shared_ptr<FontCollection>>& fontCollections) { in writeVector() argument277 collectAllFontFamilies(fontCollections, &allFontFamilies, &fontFamilyToIndexMap); in writeVector()280 writer->write<uint32_t>(fontCollections.size()); in writeVector()281 for (const auto& fontCollection : fontCollections) { in writeVector()288 const std::vector<std::shared_ptr<FontCollection>>& fontCollections, in collectAllFontFamilies() argument291 for (const auto& fontCollection : fontCollections) { in collectAllFontFamilies()
309 std::vector<std::shared_ptr<minikin::FontCollection>> fontCollections; in Typeface_writeTypefaces() local312 bool inserted = fcToIndex.emplace(typeface->fFontCollection, fontCollections.size()).second; in Typeface_writeTypefaces()314 fontCollections.push_back(typeface->fFontCollection); in Typeface_writeTypefaces()317 minikin::FontCollection::writeVector(&writer, fontCollections); in Typeface_writeTypefaces()340 std::vector<std::shared_ptr<minikin::FontCollection>> fontCollections = in Typeface_readTypefaces() local347 typeface->fFontCollection = fontCollections[reader.read<uint32_t>()]; in Typeface_readTypefaces()
65 const std::vector<std::shared_ptr<FontCollection>>& fontCollections);216 const std::vector<std::shared_ptr<FontCollection>>& fontCollections,