Lines Matching defs:font
591 // when letterspacing < 0, it causes the font is cliped. so the record fClippingNeeded is set false
628 SkFont font;
630 RSFont font;
633 font = record.fVisitor_Run->font();
634 if (font.GetTypeface() != nullptr &&
635 (font.GetTypeface()->GetFamilyName().find("Emoji") != std::string::npos ||
636 font.GetTypeface()->GetFamilyName().find("emoji") != std::string::npos)) {
1146 SkFont font(typeface, textStyle.getFontSize());
1147 font.setEdging(SkFont::Edging::kAntiAlias);
1148 font.setHinting(SkFontHinting::kSlight);
1149 font.setSubpixel(true);
1151 RSFont font(typeface, textStyle.getFontSize(), 1, 0);
1152 font.SetEdging(RSDrawing::FontEdging::ANTI_ALIAS);
1153 font.SetHinting(RSDrawing::FontHinting::SLIGHT);
1154 font.SetSubpixel(true);
1168 font,
1206 // Check the current font
1451 // Decorations are drawn based on the real font metrics (regardless of styles and strut)
1971 lastRun->font() == context.run->font())
1973 IsRSFontEquals(lastRun->font(), context.run->font()))
2394 run->font().getBounds(&glyphId, 1, &glyphBounds, nullptr);
2397 run->font().GetWidths(&glyphId, 1, nullptr, &glyphBounds);