26 const char text[] =
"x\314\200y";
29 size_t byteLength = strlen(
text);
32 y += font.getMetrics(
nullptr);
36 auto rec = builder.allocRunPosH(font, glyph_count,
y);
39 font.getWidths(rec.glyphs, glyph_count, rec.pos);
40 for (
int i = 0; i < glyph_count; ++i) {
46 canvas->drawTextBlob(builder.make(), 0, 0,
SkPaint());