Lines Matching refs:ci
249 unsigned int ci = 0, ic = 0;
328 while (clusters[ci].base_char > before && ci)
330 clusters[ci-1].num_chars += clusters[ci].num_chars;
331 clusters[ci-1].num_glyphs += clusters[ci].num_glyphs;
332 clusters[ci-1].advance += clusters[ci].advance;
333 ci--;
336 if (gr_slot_can_insert_before (is) && clusters[ci].num_chars && before >= clusters[ci].base_char + clusters[ci].num_chars)
338 hb_graphite2_cluster_t *c = clusters + ci + 1;
339 c->base_char = clusters[ci].base_char + clusters[ci].num_chars;
346 ci++;
347 clusters[ci].advance = curradv - gr_slot_origin_X(is);
349 clusters[ci].advance = gr_slot_origin_X(is) - curradv;
350 ci++;
354 clusters[ci].num_glyphs++;
356 if (clusters[ci].base_char + clusters[ci].num_chars < after + 1)
357 clusters[ci].num_chars = after + 1 - clusters[ci].base_char;
361 clusters[ci].advance = gr_seg_advance_X(seg) - curradv;
362 ci++;
364 for (unsigned int i = 0; i < ci; ++i)