Home
last modified time | relevance | path

Searched refs:y_advance (Results 1 – 25 of 28) sorted by relevance

12

/external/harfbuzz_ng/src/
Dhb-ot-shape-fallback.cc190 buffer->pos[i].y_advance = 0; in zero_mark_advances()
331 y_offset -= buffer->pos[base].y_advance; in position_around_base()
377 buffer->pos[i].y_advance = 0; in position_around_base()
384 y_offset -= buffer->pos[i].y_advance; in position_around_base()
387 y_offset += buffer->pos[i].y_advance; in position_around_base()
514 pos[i].y_advance = -(font->y_scale + ((int) space_type)/2) / (int) space_type; in _hb_ot_shape_fallback_spaces()
521 pos[i].y_advance = (int64_t) -font->y_scale * 4 / 18; in _hb_ot_shape_fallback_spaces()
531 pos[i].y_advance = font->get_glyph_v_advance (glyph); in _hb_ot_shape_fallback_spaces()
543 pos[i].y_advance = font->get_glyph_v_advance (glyph); in _hb_ot_shape_fallback_spaces()
556 pos[i].y_advance /= 2; in _hb_ot_shape_fallback_spaces()
Dhb-buffer-serialize.cc153 pos[i].x_advance, pos[i].y_advance)); in _hb_buffer_serialize_glyphs_json()
188 y += pos[i].y_advance; in _hb_buffer_serialize_glyphs_json()
242 if (pos[i].y_advance) in _hb_buffer_serialize_glyphs_text()
243 p += MAX (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",%d", pos[i].y_advance)); in _hb_buffer_serialize_glyphs_text()
274 y += pos[i].y_advance; in _hb_buffer_serialize_glyphs_text()
Dhb-fallback-shape.cc102 pos[i].y_advance = 0; in _hb_fallback_shape()
109 &pos[i].y_advance); in _hb_fallback_shape()
Dhb-buffer.cc1806 total_y_advance += pos[i].y_advance; in normalize_glyphs_cluster()
1809 hb_position_t x_advance = 0, y_advance = 0; in normalize_glyphs_cluster() local
1813 pos[i].y_offset += y_advance; in normalize_glyphs_cluster()
1816 y_advance += pos[i].y_advance; in normalize_glyphs_cluster()
1819 pos[i].y_advance = 0; in normalize_glyphs_cluster()
1826 pos[end - 1].y_advance = total_y_advance; in normalize_glyphs_cluster()
1832 pos[start].y_advance += total_y_advance; in normalize_glyphs_cluster()
1976 (unsigned int) abs (buf_pos->y_advance - ref_pos->y_advance) > position_fuzz || in hb_buffer_diff()
Dhb-kern.hh118 pos[i].y_advance += kern1; in kern()
119 pos[j].y_advance += kern2; in kern()
Dhb-graphite2.cc413 pPos->y_advance = gr_slot_advance_Y (is, grface, nullptr) * yscale; in _hb_graphite2_shape()
414 curradvy += pPos->y_advance; in _hb_graphite2_shape()
430 pPos->y_advance = gr_slot_advance_Y (is, grface, nullptr) * yscale; in _hb_graphite2_shape()
431 curradvy -= pPos->y_advance; in _hb_graphite2_shape()
Dhb-buffer-deserialize-json.hh549 { if (!parse_int (tok, p, &pos.y_advance)) return false; } in _hb_buffer_deserialize_glyphs_json()
613 { if (!parse_int (tok, p, &pos.y_advance)) return false; } in _hb_buffer_deserialize_glyphs_json()
Dhb-buffer-deserialize-text.hh469 { if (!parse_int (tok, p, &pos.y_advance)) return false; } in _hb_buffer_deserialize_glyphs_text()
546 { if (!parse_int (tok, p, &pos.y_advance)) return false; } in _hb_buffer_deserialize_glyphs_text()
Dtest.cc83 pos->y_advance); in main()
Dhb-ot-layout-gpos-table.hh124 … if (unlikely (!horizontal)) glyph_pos.y_advance -= font->em_scale_y (get_short (values, &ret)); in apply_value()
152 …if (!horizontal && use_y_device) glyph_pos.y_advance -= (base + get_device (values, &ret)).get_y_d… in apply_value()
1024 pos[i].y_advance = round (exit_y) + pos[i].y_offset; in apply()
1027 pos[j].y_advance -= d; in apply()
1032 pos[i].y_advance -= d; in apply()
1035 pos[j].y_advance = round (entry_y); in apply()
1708 pos[i].y_offset -= pos[k].y_advance; in propagate_attachment_offsets()
1713 pos[i].y_offset += pos[k].y_advance; in propagate_attachment_offsets()
Dhb-ot-shape.cc630 pos[i].x_advance = pos[i].y_advance = pos[i].x_offset = pos[i].y_offset = 0; in hb_ot_zero_width_default_ignorables()
763 pos->y_offset -= pos->y_advance; in adjust_mark_offsets()
770 pos->y_advance = 0; in zero_mark_width()
809 &pos[0].y_advance, sizeof(pos[0])); in hb_ot_position_default()
Dhb-coretext.cc918 hb_position_t x_advance, y_advance, x_offset, y_offset; in _hb_coretext_shape() local
919 hb_font_get_glyph_advance_for_direction (font, notdef, dir, &x_advance, &y_advance); in _hb_coretext_shape()
921 hb_position_t advance = x_advance + y_advance; in _hb_coretext_shape()
1094 pos->y_advance = info->mask; in _hb_coretext_shape()
Dhb-aat-layout-trak-table.hh200 buffer->pos[start].y_advance += advance_to_add; in apply()
Dhb-buffer-deserialize-text.rl66 action parse_y_advance { if (!parse_int (tok, p, &pos.y_advance)) return false; }
Dhb-buffer-deserialize-json.rl67 action parse_y_advance { if (!parse_int (tok, p, &pos.y_advance)) return false; }
Dhb-buffer.h127 hb_position_t y_advance; member
Dhb-aat-layout.cc253 pos[i].x_advance = pos[i].y_advance = pos[i].x_offset = pos[i].y_offset = 0; in hb_aat_layout_zero_width_deleted_glyphs()
/external/harfbuzz_ng/util/
Dview-cairo.cc57 double x_advance, y_advance; in render() local
58 line.get_advance (&x_advance, &y_advance); in render()
60 h = MAX (h, y_sign * y_advance); in render()
Dhelper-cairo.hh72 void get_advance (double *x_advance, double *y_advance) { in get_advance()
74 *y_advance = glyphs[num_glyphs].y; in get_advance()
Dhelper-cairo.cc514 y += -hb_position->y_advance; in helper_cairo_line_from_buffer()
/external/skqp/third_party/harfbuzz/
Dhb-buffer-deserialize-json.hh549 { if (!parse_int (tok, p, &pos.y_advance)) return false; } in _hb_buffer_deserialize_glyphs_json()
613 { if (!parse_int (tok, p, &pos.y_advance)) return false; } in _hb_buffer_deserialize_glyphs_json()
Dhb-buffer-deserialize-text.hh469 { if (!parse_int (tok, p, &pos.y_advance)) return false; } in _hb_buffer_deserialize_glyphs_text()
546 { if (!parse_int (tok, p, &pos.y_advance)) return false; } in _hb_buffer_deserialize_glyphs_text()
/external/harfbuzz_ng/test/shaping/data/aots/
Dhb-aots-tester.cpp238 curY += pos[i].y_advance; in gpos_test()
279 printf (" %d/%d", pos[i].y_advance, pos[i].y_offset); in gpos_test()
/external/harfbuzz_ng/test/api/
Dtest-shape.c132 g_assert_cmpint (0, ==, positions[i].y_advance); in test_shape()
Dtest-buffer.c310 g_assert_cmpint (0, ==, positions[i].y_advance); in test_buffer_positions()

12