Searched refs:current_font (Results 1 – 2 of 2) sorted by relevance
176 FontInfo* current_font = nullptr; in parseFonts() local209 if (!current_font || !current_font->matches(family, style)) { in parseFonts()210 current_font = nullptr; in parseFonts()213 current_font = finfo; in parseFonts()217 if (!current_font) { in parseFonts()
313 FontInfo* current_font = nullptr; in resolveEmbeddedTypefaces() local353 if (!current_font || !current_font->matches(family, style)) { in resolveEmbeddedTypefaces()354 current_font = nullptr; in resolveEmbeddedTypefaces()357 current_font = finfo; in resolveEmbeddedTypefaces()361 if (!current_font) { in resolveEmbeddedTypefaces()382 current_font->fCustomBuilder.setGlyph(glyph_id, advance * kPtScale, path); in resolveEmbeddedTypefaces()