Home
last modified time | relevance | path

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

/external/harfbuzz_ng/test/api/
Dtest-ot-extents-cff.c46 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()
Dtest-ot-color.c417 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()
Dtest-font.c138 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/
Dhb-ot-shape-fallback.cc220 …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()
Dhb-ot-cff2-table.cc117 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()
Dtest-ot-color.cc165 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()
Dhb-ot-color-sbix-table.hh237 extents->x_bearing = x_offset; in get_png_extents()
246 extents->x_bearing = round (extents->x_bearing * scale); in get_png_extents()
Dhb-ot-cff1-table.cc316 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()
Dhb-ot-color-cbdt-table.hh56 extents->x_bearing = bearingX; in get_extents()
447 extents->x_bearing = round (extents->x_bearing * x_scale); in get_extents()
Dhb-ot-font.cc193 extents->x_bearing = font->em_scale_x (extents->x_bearing); in hb_ot_get_glyph_extents()
Dhb-ot-glyf-table.hh454 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()
Dhb-buffer-serialize.cc167 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()
Dhb-ft.cc363 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()
Dhb-font.h104 hb_position_t x_bearing; /* left 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.cpp211 extents->x_bearing = skhb_position(sk_bounds.fLeft); in skhb_glyph_extents()