• Home
  • Raw
  • Download

Lines Matching refs:extents

42   hb_glyph_extents_t  extents;  in test_extents_tt_var()  local
43 hb_bool_t result = hb_font_get_glyph_extents (font, 2, &extents); in test_extents_tt_var()
46 g_assert_cmpint (extents.x_bearing, ==, 10); in test_extents_tt_var()
47 g_assert_cmpint (extents.y_bearing, ==, 846); in test_extents_tt_var()
48 g_assert_cmpint (extents.width, ==, 500); in test_extents_tt_var()
49 g_assert_cmpint (extents.height, ==, -846); in test_extents_tt_var()
53 result = hb_font_get_glyph_extents (font, 2, &extents); in test_extents_tt_var()
56 g_assert_cmpint (extents.x_bearing, ==, 0); in test_extents_tt_var()
57 g_assert_cmpint (extents.y_bearing, ==, 874); in test_extents_tt_var()
58 g_assert_cmpint (extents.width, ==, 551); in test_extents_tt_var()
59 g_assert_cmpint (extents.height, ==, -874); in test_extents_tt_var()
146 hb_glyph_extents_t extents; in test_advance_tt_var_anchor() local
147 hb_bool_t result = hb_font_get_glyph_extents (font, 2, &extents); in test_advance_tt_var_anchor()
150 g_assert_cmpint (extents.x_bearing, ==, 56); in test_advance_tt_var_anchor()
151 g_assert_cmpint (extents.y_bearing, ==, 672); in test_advance_tt_var_anchor()
152 g_assert_cmpint (extents.width, ==, 556); in test_advance_tt_var_anchor()
153 g_assert_cmpint (extents.height, ==, -684); in test_advance_tt_var_anchor()
157 result = hb_font_get_glyph_extents (font, 2, &extents); in test_advance_tt_var_anchor()
160 g_assert_cmpint (extents.x_bearing, ==, 50); in test_advance_tt_var_anchor()
161 g_assert_cmpint (extents.y_bearing, ==, 667); in test_advance_tt_var_anchor()
162 g_assert_cmpint (extents.width, ==, 592); in test_advance_tt_var_anchor()
163 g_assert_cmpint (extents.height, ==, -679); in test_advance_tt_var_anchor()
178 hb_glyph_extents_t extents; in test_extents_tt_var_comp() local
183 …result = hb_font_get_glyph_extents (font, 2, &extents); /* Ccedilla, cedilla y-scaled by 0.8, with… in test_extents_tt_var_comp()
186 g_assert_cmpint (extents.x_bearing, ==, 19); in test_extents_tt_var_comp()
187 g_assert_cmpint (extents.y_bearing, ==, 663); in test_extents_tt_var_comp()
188 g_assert_cmpint (extents.width, ==, 519); in test_extents_tt_var_comp()
189 g_assert_cmpint (extents.height, ==, -895); in test_extents_tt_var_comp()
191 …result = hb_font_get_glyph_extents (font, 3, &extents); /* Cacute, acute y-scaled by 0.8, with uns… in test_extents_tt_var_comp()
194 g_assert_cmpint (extents.x_bearing, ==, 19); in test_extents_tt_var_comp()
195 g_assert_cmpint (extents.y_bearing, ==, 909); in test_extents_tt_var_comp()
196 g_assert_cmpint (extents.width, ==, 519); in test_extents_tt_var_comp()
197 g_assert_cmpint (extents.height, ==, -921); in test_extents_tt_var_comp()
199 …result = hb_font_get_glyph_extents (font, 4, &extents); /* Ccaron, caron y-scaled by 0.8, with sca… in test_extents_tt_var_comp()
202 g_assert_cmpint (extents.x_bearing, ==, 19); in test_extents_tt_var_comp()
203 g_assert_cmpint (extents.y_bearing, ==, 866); in test_extents_tt_var_comp()
204 g_assert_cmpint (extents.width, ==, 519); in test_extents_tt_var_comp()
205 g_assert_cmpint (extents.height, ==, -878); in test_extents_tt_var_comp()
248 hb_glyph_extents_t extents = {0}; in test_advance_tt_var_gvar_infer() local
249 g_assert (hb_font_get_glyph_extents (font, 4, &extents)); in test_advance_tt_var_gvar_infer()