Searched refs:getClosestMatch (Results 1 – 5 of 5) sorted by relevance
63 if (family->getClosestMatch(defaultStyle).font == nullptr) { in init()448 result.push_back({family->getClosestMatch(style), static_cast<int>(start), 0}); in itemize()471 result.push_back({mFamilies[0]->getClosestMatch(style), 0, static_cast<int>(string_size)}); in itemize()482 return mFamilies[0]->getClosestMatch(style); in baseFontFaked()
146 FakedFont FontFamily::getClosestMatch(FontStyle style) const { in getClosestMatch() function in minikin::FontFamily161 const Font* font = getClosestMatch(FontStyle()).font; in computeCoverage()
41 FakedFont getClosestMatch(FontStyle style) const;
138 : families[0]->getClosestMatch(defaultStyle).font->typeface().get(); in createFromFamilies()
740 FakedFont closest = family.getClosestMatch(testCase.wantedStyle); in TEST_F()