• Home
  • Raw
  • Download

Lines Matching refs:glyphs

176   hb_glyph_info_t *glyphs;  in test_buffer_contents()  local
185 glyphs = hb_buffer_get_glyph_infos (b, &len2); in test_buffer_contents()
190 g_assert_cmphex (glyphs[i].mask, ==, 1); in test_buffer_contents()
191 g_assert_cmphex (glyphs[i].var1.u32, ==, 0); in test_buffer_contents()
192 g_assert_cmphex (glyphs[i].var2.u32, ==, 0); in test_buffer_contents()
204 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[1+i]); in test_buffer_contents()
205 g_assert_cmphex (glyphs[i].cluster, ==, cluster); in test_buffer_contents()
212 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[len-i]); in test_buffer_contents()
216 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[1+i]); in test_buffer_contents()
223 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[len-i]); in test_buffer_contents()
227 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[1+i]); in test_buffer_contents()
230 glyphs[2].cluster = glyphs[1].cluster; in test_buffer_contents()
236 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[len-i]); in test_buffer_contents()
240 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[1+i]); in test_buffer_contents()
252 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[1+j]); in test_buffer_contents()
257 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[1+i]); in test_buffer_contents()
264 glyphs = hb_buffer_get_glyph_infos (b, NULL); in test_buffer_contents()
267 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[1+i]); in test_buffer_contents()
269 g_assert_cmphex (glyphs[i].codepoint, ==, 0); in test_buffer_contents()
272 glyphs = hb_buffer_get_glyph_infos (b, NULL); in test_buffer_contents()
275 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[1+i]); in test_buffer_contents()
373 hb_glyph_info_t *glyphs; in test_buffer_utf8_conversion() local
394 glyphs = hb_buffer_get_glyph_infos (b, &len); in test_buffer_utf8_conversion()
397 g_assert_cmphex (glyphs[j].codepoint, ==, test->codepoints[j]); in test_buffer_utf8_conversion()
665 hb_glyph_info_t *glyphs; in test_buffer_utf8_validity() local
681 glyphs = hb_buffer_get_glyph_infos (b, &len); in test_buffer_utf8_validity()
683 if (glyphs[j].codepoint == (hb_codepoint_t) -1) in test_buffer_utf8_validity()
688 g_assert (glyphs[j].cluster == test->offset); in test_buffer_utf8_validity()
722 hb_glyph_info_t *glyphs; in test_buffer_utf16_conversion() local
734 glyphs = hb_buffer_get_glyph_infos (b, &len); in test_buffer_utf16_conversion()
737 g_assert_cmphex (glyphs[j].codepoint, ==, test->codepoints[j]); in test_buffer_utf16_conversion()