Lines Matching refs:glyphs
185 hb_glyph_info_t *glyphs; in test_buffer_contents() local
194 glyphs = hb_buffer_get_glyph_infos (b, &len2); in test_buffer_contents()
199 g_assert_cmphex (glyphs[i].mask, ==, 0); in test_buffer_contents()
200 g_assert_cmphex (glyphs[i].var1.u32, ==, 0); in test_buffer_contents()
201 g_assert_cmphex (glyphs[i].var2.u32, ==, 0); in test_buffer_contents()
213 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[1+i]); in test_buffer_contents()
214 g_assert_cmphex (glyphs[i].cluster, ==, cluster); in test_buffer_contents()
221 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[len-i]); in test_buffer_contents()
225 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[1+i]); in test_buffer_contents()
232 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[len-i]); in test_buffer_contents()
236 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[1+i]); in test_buffer_contents()
239 glyphs[2].cluster = glyphs[1].cluster; in test_buffer_contents()
245 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[len-i]); in test_buffer_contents()
249 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[1+i]); in test_buffer_contents()
261 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[1+j]); in test_buffer_contents()
266 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[1+i]); in test_buffer_contents()
273 glyphs = hb_buffer_get_glyph_infos (b, NULL); in test_buffer_contents()
276 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[1+i]); in test_buffer_contents()
278 g_assert_cmphex (glyphs[i].codepoint, ==, 0); in test_buffer_contents()
281 glyphs = hb_buffer_get_glyph_infos (b, NULL); in test_buffer_contents()
284 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[1+i]); in test_buffer_contents()
390 hb_glyph_info_t *glyphs; in test_buffer_utf8_conversion() local
405 glyphs = hb_buffer_get_glyph_infos (b, &len); in test_buffer_utf8_conversion()
408 g_assert_cmphex (glyphs[j].codepoint, ==, test->codepoints[j]); in test_buffer_utf8_conversion()
680 hb_glyph_info_t *glyphs; in test_buffer_utf8_validity() local
696 glyphs = hb_buffer_get_glyph_infos (b, &len); in test_buffer_utf8_validity()
698 if (glyphs[j].codepoint == (hb_codepoint_t) -1) in test_buffer_utf8_validity()
703 g_assert (glyphs[j].cluster == test->offset); in test_buffer_utf8_validity()
739 hb_glyph_info_t *glyphs; in test_buffer_utf16_conversion() local
751 glyphs = hb_buffer_get_glyph_infos (b, &len); in test_buffer_utf16_conversion()
754 g_assert_cmphex (glyphs[j].codepoint, ==, test->codepoints[j]); in test_buffer_utf16_conversion()
793 hb_glyph_info_t *glyphs; in test_buffer_utf32_conversion() local
805 glyphs = hb_buffer_get_glyph_infos (b, &len); in test_buffer_utf32_conversion()
808 g_assert_cmphex (glyphs[j].codepoint, ==, test->codepoints[j]); in test_buffer_utf32_conversion()