Searched refs:bestFont (Results 1 – 2 of 2) sorted by relevance
156 const Font* bestFont = NULL; in getClosestMatch() local162 bestFont = &font; in getClosestMatch()167 if (bestFont == NULL) { in getClosestMatch()170 result.font = bestFont->typeface; in getClosestMatch()171 result.fakery = computeFakery(style, bestFont->style); in getClosestMatch()
154 FontInfo bestFont = null; in getFont() local160 bestFont = font; in getFont()163 if (bestFont == null) { in getFont()167 return bestFont.mFont; in getFont()170 deriveFont(bestFont, desiredStyle); in getFont()