Lines Matching defs:font
79 SkFont font(std::move(tf), size);
80 font.setHinting(SkFontHinting::kNone);
81 font.setSubpixel(true);
82 font.setLinearMetrics(true);
83 font.setBaselineSnap(false);
84 font.setEdging(SkFont::Edging::kAntiAlias);
86 return font;
218 void SkSVGTextContext::shapePendingBuffer(const SkFont& font) {
224 font, LTR, SK_ScalarMax, this);
300 const auto font = ResolveFont(ctx);
323 this->shapePendingBuffer(font);
346 this->shapePendingBuffer(font);
383 SkRSXform SkSVGTextContext::computeGlyphXform(SkGlyphID glyph, const SkFont& font,
396 font.getWidths(&glyph, 1, &glyph_width);
415 const auto& buf = blobBuilder.allocRunRSXform(run.font, SkToInt(run.glyphCount));
419 run.font,
586 it.font().getBounds(it.glyphs(), it.glyphCount(), glyphBounds.get(), nullptr);
621 it.font().getPaths(it.glyphs(), it.glyphCount(), [](const SkPath* path,