Searched refs:getClosestMatch (Results 1 – 5 of 5) sorted by relevance
153 FakedFont FontFamily::getClosestMatch(FontStyle style) const { in getClosestMatch() function in minikin::FontFamily170 const std::shared_ptr<Font>& font = getClosestMatch(FontStyle()).font; in computeCoverage()
81 if (family->getClosestMatch(defaultStyle).font == nullptr) { in init()646 return mFamilies[bestIndex]->getClosestMatch(style); in getBestFont()650 return mFamilies[0]->getClosestMatch(style); in baseFontFaked()
63 FakedFont getClosestMatch(FontStyle style) const;
140 : families[0]->getClosestMatch(defaultStyle).font->typeface().get(); in createFromFamilies()
778 FakedFont closest = family.getClosestMatch(testCase.wantedStyle); in TEST_F()