Home
last modified time | relevance | path

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

/external/harfbuzz_ng/src/
Dhb-ot-shape-fallback.cc266 pos.y_offset = base_extents.y_bearing + base_extents.height - mark_extents.y_bearing; in position_mark()
281 base_extents.y_bearing += y_gap; in position_mark()
287 pos.y_offset = base_extents.y_bearing - (mark_extents.y_bearing + mark_extents.height); in position_mark()
292 base_extents.y_bearing += correction; in position_mark()
296 base_extents.y_bearing -= mark_extents.height; in position_mark()
319 base_extents.y_bearing += buffer->pos[base].y_offset; in position_around_base()
Dhb-ot-font.cc196 extents->y_bearing = MAX (glyph_header.yMin, glyph_header.yMax); in get_extents()
198 extents->height = MIN (glyph_header.yMin, glyph_header.yMax) - extents->y_bearing; in get_extents()
394 extents->y_bearing = font->em_scale_y (extents->y_bearing); in hb_ot_get_glyph_extents()
Dhb-buffer-serialize.cc159 extents.x_bearing, extents.y_bearing)); in _hb_buffer_serialize_glyphs_json()
233 …ARRAY_LENGTH (b) - (p - b), "<%d,%d,%d,%d>", extents.x_bearing, extents.y_bearing, extents.width, … in _hb_buffer_serialize_glyphs_text()
Dhb-ft.cc288 extents->y_bearing = ft_face->glyph->metrics.horiBearingY; in hb_ft_get_glyph_extents()
298 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-private.hh448 … subtract_glyph_origin_for_direction (glyph, direction, &extents->x_bearing, &extents->y_bearing); in get_glyph_extents_for_origin()
Dhb-font.cc279 font->parent_scale_position (&extents->x_bearing, &extents->y_bearing); in hb_font_get_glyph_extents_parent()
/external/fio/
Dcairo_text_helpers.c35 y = y - (extents.height / 2 + extents.y_bearing); in draw_aligned_text()
75 x = x - (extents.height / 2.0 + extents.y_bearing); in draw_vertical_centered_text()
/external/harfbuzz_ng/test/api/
Dtest-font.c128 extents.x_bearing = extents.y_bearing = 13; in _test_font_nil_funcs()
132 g_assert_cmpint (extents.y_bearing, ==, 0); in _test_font_nil_funcs()