Searched refs:x_bearing (Results 1 – 17 of 17) sorted by relevance
/external/harfbuzz_ng/test/api/ |
D | test-ot-extents-cff.c | 46 g_assert_cmpint (extents.x_bearing, ==, 52); in test_extents_cff1() 63 g_assert_cmpint (extents.x_bearing, ==, 34); in test_extents_cff1() 85 g_assert_cmpint (extents.x_bearing, ==, -20); in test_extents_cff1_flex() 107 g_assert_cmpint (extents.x_bearing, ==, 3); in test_extents_cff1_seac() 115 g_assert_cmpint (extents.x_bearing, ==, 87); in test_extents_cff1_seac() 137 g_assert_cmpint (extents.x_bearing, ==, 46); in test_extents_cff2() 147 g_assert_cmpint (extents.x_bearing, ==, 38); in test_extents_cff2() 171 g_assert_cmpint (extents.x_bearing, ==, 11); in test_extents_cff2_vsindex() 179 g_assert_cmpint (extents.x_bearing, ==, 7); in test_extents_cff2_vsindex()
|
D | test-ot-color.c | 417 g_assert_cmpint (extents.x_bearing, ==, 0); in test_hb_ot_color_png() 428 g_assert_cmpint (extents.x_bearing, ==, 0); in test_hb_ot_color_png() 445 g_assert_cmpint (extents.x_bearing, ==, 0); in test_hb_ot_color_png()
|
D | test-font.c | 138 extents.x_bearing = extents.y_bearing = 13; in _test_font_nil_funcs() 141 g_assert_cmpint (extents.x_bearing, ==, 0); in _test_font_nil_funcs()
|
/external/harfbuzz_ng/src/ |
D | hb-ot-shape-fallback.cc | 220 …pos.x_offset += base_extents.x_bearing + base_extents.width - mark_extents.width / 2 - mark_extent… in position_mark() 223 pos.x_offset += base_extents.x_bearing - mark_extents.width / 2 - mark_extents.x_bearing; in position_mark() 234 …pos.x_offset += base_extents.x_bearing + (base_extents.width - mark_extents.width) / 2 - mark_exte… in position_mark() 241 pos.x_offset += base_extents.x_bearing - mark_extents.x_bearing; in position_mark() 248 …pos.x_offset += base_extents.x_bearing + base_extents.width - mark_extents.width - mark_extents.x_… in position_mark() 320 base_extents.x_bearing += buffer->pos[base].x_offset; in position_around_base() 360 …component_extents.x_bearing += (this_lig_component * component_extents.width) / num_lig_components; in position_around_base() 362 …component_extents.x_bearing += ((num_lig_components - 1 - this_lig_component) * component_extents.… in position_around_base()
|
D | hb-ot-cff2-table.cc | 117 extents->x_bearing = 0; in get_extents() 121 extents->x_bearing = (int32_t)param.min_x.floor (); in get_extents() 122 extents->width = (int32_t)param.max_x.ceil () - extents->x_bearing; in get_extents()
|
D | test-ot-color.cc | 165 extents.x_bearing -= extents.width / 20; in layered_glyph_dump() 201 glyph.x = -extents.x_bearing; in layered_glyph_dump() 242 extents.x_bearing -= extents.width / 20; in dump_glyphs() 253 glyph.x = -extents.x_bearing; in dump_glyphs()
|
D | hb-ot-color-sbix-table.hh | 237 extents->x_bearing = x_offset; in get_png_extents() 246 extents->x_bearing = round (extents->x_bearing * scale); in get_png_extents()
|
D | hb-ot-cff1-table.cc | 316 extents->x_bearing = 0; in get_extents() 320 extents->x_bearing = (int32_t)bounds.min.x.floor (); in get_extents() 321 extents->width = (int32_t)bounds.max.x.ceil () - extents->x_bearing; in get_extents()
|
D | hb-ot-color-cbdt-table.hh | 56 extents->x_bearing = bearingX; in get_extents() 447 extents->x_bearing = round (extents->x_bearing * x_scale); in get_extents()
|
D | hb-ot-font.cc | 193 extents->x_bearing = font->em_scale_x (extents->x_bearing); in hb_ot_get_glyph_extents()
|
D | hb-ot-glyf-table.hh | 454 extents->x_bearing = MIN (glyph_header.xMin, glyph_header.xMax); in get_extents() 456 extents->width = MAX (glyph_header.xMin, glyph_header.xMax) - extents->x_bearing; in get_extents()
|
D | hb-buffer-serialize.cc | 167 extents.x_bearing, extents.y_bearing)); in _hb_buffer_serialize_glyphs_json() 257 …p += MAX (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "<%d,%d,%d,%d>", extents.x_bearing, extents.… in _hb_buffer_serialize_glyphs_text()
|
D | hb-ft.cc | 363 extents->x_bearing = ft_face->glyph->metrics.horiBearingX; in hb_ft_get_glyph_extents() 369 extents->x_bearing = -extents->x_bearing; in hb_ft_get_glyph_extents()
|
D | hb-font.h | 104 hb_position_t x_bearing; /* left side of glyph from origin. */ member
|
D | hb-font.hh | 543 … subtract_glyph_origin_for_direction (glyph, direction, &extents->x_bearing, &extents->y_bearing); in get_glyph_extents_for_origin()
|
D | hb-font.cc | 396 font->parent_scale_position (&extents->x_bearing, &extents->y_bearing); in hb_font_get_glyph_extents_default()
|
/external/skia/modules/skshaper/src/ |
D | SkShaper_harfbuzz.cpp | 211 extents->x_bearing = skhb_position(sk_bounds.fLeft); in skhb_glyph_extents()
|