Lines Matching defs:font
115 for (auto& font : fonts) {
117 file_path.printf("%s/%s", fResourceDir.c_str(), font.c_str());
1442 // From font metrics.
1495 // Tiny font and height multiplier to ensure the height is entirely decided
4292 SkString("Not a real font"),
4293 SkString("Also a fake font"),
4295 SkString("Next one should be a real font..."),
4305 SkString("Not a real font"),
4306 SkString("Also a fake font"),
4309 SkString("Next one should be a real font..."),
4319 SkString("Not a real font"),
4320 SkString("Also a fake font"),
4323 SkString("Next one should be a real font..."),
4361 // When a different font is resolved, then the metrics are different.
4861 text_style.setFontStyle(SkFontStyle::Italic()); // Regular Roboto doesn't have font features
5264 for (auto& font : androidFonts) {
5274 text_style.setFontFamilies({ SkString(font) });
7621 auto font = paragraph->getFontAt(10);
7622 REPORTER_ASSERT(reporter, font.getTypeface() != nullptr);
7624 font.getTypeface()->getFamilyName(&fontFamily);
7631 font.getTypeface()->getFamilyName(&fontFamily);