Home | History | Annotate | Download | only in util

Lines Matching refs:cluster

413       if (hb_glyph[i].cluster != hb_glyph[i-1].cluster)
446 unsigned int cluster = 0;
448 l->clusters[cluster].num_glyphs++;
451 if (hb_glyph[i].cluster != hb_glyph[i+1].cluster) {
452 g_assert (hb_glyph[i].cluster > hb_glyph[i+1].cluster);
454 end = start + hb_glyph[i].cluster - hb_glyph[i+1].cluster;
456 end = g_utf8_offset_to_pointer (start, hb_glyph[i].cluster - hb_glyph[i+1].cluster);
457 l->clusters[cluster].num_bytes = end - start;
459 cluster++;
461 l->clusters[cluster].num_glyphs++;
463 l->clusters[cluster].num_bytes = l->utf8 + text_len - start;
466 if (hb_glyph[i].cluster != hb_glyph[i-1].cluster) {
467 g_assert (hb_glyph[i].cluster > hb_glyph[i-1].cluster);
469 end = start + hb_glyph[i].cluster - hb_glyph[i-1].cluster;
471 end = g_utf8_offset_to_pointer (start, hb_glyph[i].cluster - hb_glyph[i-1].cluster);
472 l->clusters[cluster].num_bytes = end - start;
474 cluster++;
476 l->clusters[cluster].num_glyphs++;
478 l->clusters[cluster].num_bytes = l->utf8 + text_len - start;