Lines Matching refs:FontFamily
46 FontCollection::FontCollection(std::shared_ptr<FontFamily>&& typeface) : mMaxChar(0) { in FontCollection()
47 std::vector<std::shared_ptr<FontFamily>> typefaces; in FontCollection()
52 FontCollection::FontCollection(const vector<std::shared_ptr<FontFamily>>& typefaces) : mMaxChar(0) { in FontCollection()
56 void FontCollection::init(const vector<std::shared_ptr<FontFamily>>& typefaces) { in init()
62 const std::shared_ptr<FontFamily>& family = typefaces[i]; in init()
93 const std::shared_ptr<FontFamily>& family = mFamilies[j]; in init()
128 const std::shared_ptr<FontFamily>& fontFamily) const { in calcFamilyScore()
155 const std::shared_ptr<FontFamily>& fontFamily) const { in calcCoverageScore()
216 const FontFamily& fontFamily) { in calcLocaleMatchingScore()
232 const FontFamily& fontFamily) { in calcVariantMatchingScore()
252 const std::shared_ptr<FontFamily>& FontCollection::getFamilyForChar(uint32_t ch, uint32_t vs, in getFamilyForChar()
268 const std::shared_ptr<FontFamily>& family = in getFamilyForChar()
379 const FontFamily* lastFamily = nullptr; in itemize()
420 const std::shared_ptr<FontFamily>& family = getFamilyForChar( in itemize()
503 std::vector<std::shared_ptr<FontFamily>> families; in createCollectionWithVariation()
504 for (const std::shared_ptr<FontFamily>& family : mFamilies) { in createCollectionWithVariation()
505 std::shared_ptr<FontFamily> newFamily = family->createFamilyWithVariation(variations); in createCollectionWithVariation()