Lines Matching defs:fontFamily
140 const std::shared_ptr<FontFamily>& fontFamily) const {
142 const uint32_t coverageScore = calcCoverageScore(ch, vs, fontFamily);
148 const uint32_t languageScore = calcLanguageMatchingScore(langListId, *fontFamily);
149 const uint32_t variantScore = calcVariantMatchingScore(variant, *fontFamily);
168 const std::shared_ptr<FontFamily>& fontFamily) const {
169 const bool hasVSGlyph = (vs != 0) && fontFamily->hasGlyph(ch, vs);
170 if (!hasVSGlyph && !fontFamily->getCoverage().get(ch)) {
175 if ((vs == 0 || hasVSGlyph) && mFamilies[0] == fontFamily) {
190 const FontLanguages& langs = FontLanguageListCache::getById(fontFamily->langId());
227 uint32_t userLangListId, const FontFamily& fontFamily) {
229 const FontLanguages& fontLanguages = FontLanguageListCache::getById(fontFamily.langId());
242 uint32_t FontCollection::calcVariantMatchingScore(int variant, const FontFamily& fontFamily) {
243 return (fontFamily.variant() == 0 || fontFamily.variant() == variant) ? 1 : 0;