Lines Matching defs:font
122 SkFont font;
123 font.setTypeface(tf);
124 font.setHinting(SkFontHinting::kNormal);
125 font.setSize(1u);
126 font.setEdging(SkFont::Edging::kAntiAlias);
127 font.setSubpixel(true);
131 const auto& runBuffer = builder.allocRunPosH(font, glyphCount, 0, &bounds);
504 SkFont font;
505 font.setSubpixel(true);
506 font.setSize(96);
507 font.setHinting(SkFontHinting::kNormal);
508 font.setTypeface(targetTf);
511 !SkStrikeSpec::ShouldDrawAsPath(SkPaint(), font, SkMatrix::I()));
518 const auto& runBuffer = builder.allocRunPosH(font, runSize, 10, &bounds);
526 font.getWidths(runBuffer.glyphs, 1, nullptr, &glyphBounds);
547 // TODO: when the cq bots can handle this font remove the check.
591 // TODO: when the cq bots can handle this font remove the check.
598 SkFont font;
599 font.setSubpixel(true);
600 font.setSize(96);
601 font.setHinting(SkFontHinting::kNormal);
602 font.setTypeface(typeface);
604 REPORTER_ASSERT(reporter, !SkDraw::ShouldDrawTextAsPaths(font, SkPaint(), SkMatrix::I()));
611 const auto& runBuffer = builder.allocRunPosH(font, SK_ARRAY_COUNT(glyphs), 100, &bounds);
700 SkFont font;
705 REPORTER_ASSERT(reporter, control.drawingType(font, paint, matrix) == GrSDFTControl::kSDFT);
769 SkFont font;
770 font.setTypeface(serverTf);
771 font.setSize(textSize);
774 SkFont serverFont = font;
775 auto blob = SkTextBlob::MakeFromText(text, strlen(text), font);