• Home
  • Raw
  • Download

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, ==, 1); 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()
382 hb_glyph_info_t *glyphs; in test_buffer_utf8_conversion() local
404 glyphs = hb_buffer_get_glyph_infos (b, &len); in test_buffer_utf8_conversion()
407 g_assert_cmphex (glyphs[j].codepoint, ==, test->codepoints[j]); in test_buffer_utf8_conversion()
679 hb_glyph_info_t *glyphs; in test_buffer_utf8_validity() local
695 glyphs = hb_buffer_get_glyph_infos (b, &len); in test_buffer_utf8_validity()
697 if (glyphs[j].codepoint == (hb_codepoint_t) -1) in test_buffer_utf8_validity()
702 g_assert (glyphs[j].cluster == test->offset); in test_buffer_utf8_validity()
738 hb_glyph_info_t *glyphs; in test_buffer_utf16_conversion() local
750 glyphs = hb_buffer_get_glyph_infos (b, &len); in test_buffer_utf16_conversion()
753 g_assert_cmphex (glyphs[j].codepoint, ==, test->codepoints[j]); in test_buffer_utf16_conversion()
792 hb_glyph_info_t *glyphs; in test_buffer_utf32_conversion() local
804 glyphs = hb_buffer_get_glyph_infos (b, &len); in test_buffer_utf32_conversion()
807 g_assert_cmphex (glyphs[j].codepoint, ==, test->codepoints[j]); in test_buffer_utf32_conversion()