in platform/cc/shaper/FontRunIterator.cc [15:24]
bool can_handle_cluster(SkTypeface* typeface, const char* clusterStart, const char* clusterEnd) {
const char *ptr = clusterStart;
while (ptr < clusterEnd) {
SkUnichar u = SkUTF::NextUTF8(&ptr, clusterEnd);
u = u < 0 ? 0xFFFD : u;
if (0 == typeface->unicharToGlyph(u))
return false;
}
return true;
}