Lines Matching defs:font
1366 SkDEBUGF("Could not resolve strut font\n");
1371 SkFont font(typefaces.front(), strutStyle.getFontSize());
1374 SkFont compressFont = font;
1377 metricsIncludeFontPadding(&metrics, font);
1379 font.getMetrics(&metrics);
1382 RSFont font(typefaces.front(), strutStyle.getFontSize(), 1, 0);
1385 RSFont compressFont = font;
1388 metricsIncludeFontPadding(&metrics, font);
1390 font.GetMetrics(&metrics);
1755 SkFont font(typeface, textStyle.getFontSize());
1757 RSFont font(typeface, textStyle.getFontSize(), 1, 0);
1759 fEmptyMetrics = InternalLineMetrics(font, paragraphStyle().getStrutStyle().getForceStrutHeight());
2003 run.font,
2095 return run.font();
2105 return run.font();
2115 results.emplace_back(run.font(), run.textRange());
2127 const auto& firstFont = fRuns.front().font();
2143 const auto& font = run.font();
2146 auto advance = font.measureText(str.data(), str.size(), SkTextEncoding::kUTF8, &bounds, nullptr);
2168 auto& firstFont = const_cast<RSFont&>(fRuns.front().font());
2184 auto& font = const_cast<RSFont&>(run.font());
2187 auto advance = font.MeasureText(str.data(), str.size(), RSDrawing::TextEncoding::UTF8, &bounds);