Home
last modified time | relevance | path

Searched refs:hb_glyph (Results 1 – 1 of 1) sorted by relevance

/external/harfbuzz_ng/util/
Dhelper-cairo.cc432 hb_glyph_info_t *hb_glyph = hb_buffer_get_glyph_infos (buffer, NULL); in helper_cairo_line_from_buffer() local
441 if (hb_glyph[i].cluster != hb_glyph[i-1].cluster) in helper_cairo_line_from_buffer()
458 l->glyphs[i].index = hb_glyph[i].codepoint; in helper_cairo_line_from_buffer()
479 if (hb_glyph[i].cluster != hb_glyph[i+1].cluster) { in helper_cairo_line_from_buffer()
480 g_assert (hb_glyph[i].cluster > hb_glyph[i+1].cluster); in helper_cairo_line_from_buffer()
482 end = start + hb_glyph[i].cluster - hb_glyph[i+1].cluster; in helper_cairo_line_from_buffer()
484 end = g_utf8_offset_to_pointer (start, hb_glyph[i].cluster - hb_glyph[i+1].cluster); in helper_cairo_line_from_buffer()
494 if (hb_glyph[i].cluster != hb_glyph[i-1].cluster) { in helper_cairo_line_from_buffer()
495 g_assert (hb_glyph[i].cluster > hb_glyph[i-1].cluster); in helper_cairo_line_from_buffer()
497 end = start + hb_glyph[i].cluster - hb_glyph[i-1].cluster; in helper_cairo_line_from_buffer()
[all …]