Searched refs:bestFont (Results 1 – 2 of 2) sorted by relevance
130 const Font* bestFont = NULL; in getClosestMatch() local136 bestFont = &font; in getClosestMatch()141 if (bestFont == NULL) { in getClosestMatch()144 result.font = bestFont->typeface; in getClosestMatch()145 result.fakery = computeFakery(style, bestFont->style); in getClosestMatch()
179 FontInfo bestFont = null; in getFont() local187 bestFont = font; in getFont()190 if (bestFont == null) { in getFont()194 return bestFont.mFont; in getFont()197 deriveFont(bestFont, desiredStyle); in getFont()