26 const char text[] =
"x\314\200y";
29 size_t byteLength = strlen(
text);
32 y +=
font.getMetrics(
nullptr);
39 font.getWidths(rec.glyphs, glyph_count, rec.pos);
40 for (
int i = 0;
i < glyph_count; ++
i) {
@ kUTF8
uses bytes to represent UTF-8 or ASCII
@ kAlias
no transparent pixels on glyph edges
font
Font Metadata and Metrics.
DEF_SIMPLE_GM(skbug_5321, canvas, 128, 128)