Home
last modified time | relevance | path

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

/external/harfbuzz_ng/test/api/
Dtest-ot-extents-cff.c47 g_assert_cmpint (extents.y_bearing, ==, 498); in test_extents_cff1()
64 g_assert_cmpint (extents.y_bearing, ==, 840); in test_extents_cff1()
86 g_assert_cmpint (extents.y_bearing, ==, 520); in test_extents_cff1_flex()
108 g_assert_cmpint (extents.y_bearing, ==, 861); in test_extents_cff1_seac()
116 g_assert_cmpint (extents.y_bearing, ==, 827); in test_extents_cff1_seac()
138 g_assert_cmpint (extents.y_bearing, ==, 487); in test_extents_cff2()
148 g_assert_cmpint (extents.y_bearing, ==, 493); in test_extents_cff2()
172 g_assert_cmpint (extents.y_bearing, ==, 656); in test_extents_cff2_vsindex()
180 g_assert_cmpint (extents.y_bearing, ==, 669); in test_extents_cff2_vsindex()
Dtest-ot-color.c418 g_assert_cmpint (extents.y_bearing, ==, 0); in test_hb_ot_color_png()
429 g_assert_cmpint (extents.y_bearing, ==, 0); in test_hb_ot_color_png()
446 g_assert_cmpint (extents.y_bearing, ==, 1024); in test_hb_ot_color_png()
Dtest-font.c138 extents.x_bearing = extents.y_bearing = 13; in _test_font_nil_funcs()
142 g_assert_cmpint (extents.y_bearing, ==, 0); in _test_font_nil_funcs()
/external/harfbuzz_ng/src/
Dhb-ot-shape-fallback.cc265 pos.y_offset = base_extents.y_bearing + base_extents.height - mark_extents.y_bearing; in position_mark()
280 base_extents.y_bearing += y_gap; in position_mark()
286 pos.y_offset = base_extents.y_bearing - (mark_extents.y_bearing + mark_extents.height); in position_mark()
291 base_extents.y_bearing += correction; in position_mark()
295 base_extents.y_bearing -= mark_extents.height; in position_mark()
321 base_extents.y_bearing += buffer->pos[base].y_offset; in position_around_base()
Dhb-ot-cff2-table.cc127 extents->y_bearing = 0; in get_extents()
131 extents->y_bearing = (int32_t)param.max_y.ceil (); in get_extents()
132 extents->height = (int32_t)param.min_y.floor () - extents->y_bearing; in get_extents()
Dtest-ot-color.cc166 extents.y_bearing -= extents.height / 20; in layered_glyph_dump()
202 glyph.y = -extents.y_bearing; in layered_glyph_dump()
243 extents.y_bearing -= extents.height / 20; in dump_glyphs()
254 glyph.y = -extents.y_bearing; in dump_glyphs()
Dhb-ot-color-sbix-table.hh238 extents->y_bearing = y_offset; in get_png_extents()
247 extents->y_bearing = round (extents->y_bearing * scale); in get_png_extents()
Dhb-ot-font.cc164 *y = font->em_scale_y (extents.y_bearing + tsb); in hb_ot_get_glyph_v_origin()
194 extents->y_bearing = font->em_scale_y (extents->y_bearing); in hb_ot_get_glyph_extents()
Dhb-ot-cff1-table.cc326 extents->y_bearing = 0; in get_extents()
330 extents->y_bearing = (int32_t)bounds.max.y.ceil (); in get_extents()
331 extents->height = (int32_t)bounds.min.y.floor () - extents->y_bearing; in get_extents()
Dhb-ot-color-cbdt-table.hh57 extents->y_bearing = bearingY; in get_extents()
448 extents->y_bearing = round (extents->y_bearing * y_scale); in get_extents()
Dhb-buffer-serialize.cc167 extents.x_bearing, extents.y_bearing)); in _hb_buffer_serialize_glyphs_json()
257 …ARRAY_LENGTH (b) - (p - b), "<%d,%d,%d,%d>", extents.x_bearing, extents.y_bearing, extents.width, … in _hb_buffer_serialize_glyphs_text()
Dhb-ot-glyf-table.hh455 extents->y_bearing = MAX (glyph_header.yMin, glyph_header.yMax); in get_extents()
457 extents->height = MIN (glyph_header.yMin, glyph_header.yMax) - extents->y_bearing; in get_extents()
Dhb-ft.cc364 extents->y_bearing = ft_face->glyph->metrics.horiBearingY; in hb_ft_get_glyph_extents()
374 extents->y_bearing = -extents->y_bearing; in hb_ft_get_glyph_extents()
Dhb-font.h105 hb_position_t y_bearing; /* top side of glyph from origin. */ member
Dhb-font.hh543 … subtract_glyph_origin_for_direction (glyph, direction, &extents->x_bearing, &extents->y_bearing); in get_glyph_extents_for_origin()
Dhb-font.cc396 font->parent_scale_position (&extents->x_bearing, &extents->y_bearing); in hb_font_get_glyph_extents_default()
/external/skia/modules/skshaper/src/
DSkShaper_harfbuzz.cpp212 extents->y_bearing = skhb_position(-sk_bounds.fTop); in skhb_glyph_extents()