Home
last modified time | relevance | path

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

/external/harfbuzz_ng/src/
Dhb-ot-shape-fallback.cc221 …pos.x_offset += base_extents.x_bearing + base_extents.width - mark_extents.width / 2 - mark_extent… in position_mark()
224 pos.x_offset += base_extents.x_bearing - mark_extents.width / 2 - mark_extents.x_bearing; in position_mark()
235 …pos.x_offset += base_extents.x_bearing + (base_extents.width - mark_extents.width) / 2 - mark_exte… in position_mark()
242 pos.x_offset += base_extents.x_bearing - mark_extents.x_bearing; in position_mark()
249 …pos.x_offset += base_extents.x_bearing + base_extents.width - mark_extents.width - mark_extents.x_… in position_mark()
321 base_extents.x_bearing += buffer->pos[base].x_offset; in position_around_base()
359 …component_extents.x_bearing += (this_lig_component * component_extents.width) / num_lig_components; in position_around_base()
361 …component_extents.x_bearing += ((num_lig_components - 1 - this_lig_component) * component_extents.… in position_around_base()
Dhb-ot-glyf-table.hh153 extents->x_bearing = MIN (glyph_header.xMin, glyph_header.xMax); in get_extents()
155 extents->width = MAX (glyph_header.xMin, glyph_header.xMax) - extents->x_bearing; in get_extents()
Dhb-ot-font.cc156 extents->x_bearing = font->em_scale_x (extents->x_bearing); in hb_ot_get_glyph_extents()
Dhb-buffer-serialize.cc165 extents.x_bearing, extents.y_bearing)); in _hb_buffer_serialize_glyphs_json()
245 …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-ot-cbdt-table.hh44 extents->x_bearing = bearingX; in get_extents()
442 extents->x_bearing *= upem / (float) x_ppem; in get_extents()
Dhb-ft.cc307 extents->x_bearing = ft_face->glyph->metrics.horiBearingX; in hb_ft_get_glyph_extents()
313 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-private.hh476 … subtract_glyph_origin_for_direction (glyph, direction, &extents->x_bearing, &extents->y_bearing); in get_glyph_extents_for_origin()
Dhb-font.cc271 font->parent_scale_position (&extents->x_bearing, &extents->y_bearing); in hb_font_get_glyph_extents_parent()
/external/fio/
Dcairo_text_helpers.c34 x = x + direction * (factor * extents.width + extents.x_bearing); in draw_aligned_text()
74 y = y + (extents.width / 2.0 + extents.x_bearing); in draw_vertical_centered_text()
/external/harfbuzz_ng/test/api/
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()