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.cc201 buffer->pos[i].y_offset -= buffer->pos[i].y_advance; in zero_mark_advances()
204 buffer->pos[i].y_advance = 0; in zero_mark_advances()
350 y_offset -= buffer->pos[base].y_advance; in position_around_base()
396 buffer->pos[i].y_advance = 0; in position_around_base()
403 y_offset -= buffer->pos[i].y_advance; in position_around_base()
406 y_offset += buffer->pos[i].y_advance; in position_around_base()
547 pos[i].y_advance = -(font->y_scale + ((int) space_type)/2) / (int) space_type; in _hb_ot_shape_fallback_spaces()
554 pos[i].y_advance = (int64_t) -font->y_scale * 4 / 18; in _hb_ot_shape_fallback_spaces()
564 pos[i].y_advance = font->get_glyph_v_advance (glyph); in _hb_ot_shape_fallback_spaces()
576 pos[i].y_advance = font->get_glyph_v_advance (glyph); in _hb_ot_shape_fallback_spaces()
[all …]
Dhb-buffer-serialize.cc157 pos[i].x_advance, pos[i].y_advance)); in _hb_buffer_serialize_glyphs_json()
192 y += pos[i].y_advance; in _hb_buffer_serialize_glyphs_json()
246 if (pos[i].y_advance) in _hb_buffer_serialize_glyphs_text()
247 p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",%d", pos[i].y_advance)); in _hb_buffer_serialize_glyphs_text()
278 y += pos[i].y_advance; in _hb_buffer_serialize_glyphs_text()
Dhb-fallback-shape.cc103 pos[i].y_advance = 0; in _hb_fallback_shape()
110 &pos[i].y_advance); in _hb_fallback_shape()
Dhb-kern.hh118 pos[i].y_advance += kern1; in kern()
119 pos[j].y_advance += kern2; in kern()
Dhb-buffer.cc1808 total_y_advance += pos[i].y_advance; in normalize_glyphs_cluster()
1811 hb_position_t x_advance = 0, y_advance = 0; in normalize_glyphs_cluster() local
1815 pos[i].y_offset += y_advance; in normalize_glyphs_cluster()
1818 y_advance += pos[i].y_advance; in normalize_glyphs_cluster()
1821 pos[i].y_advance = 0; in normalize_glyphs_cluster()
1828 pos[end - 1].y_advance = total_y_advance; in normalize_glyphs_cluster()
1834 pos[start].y_advance += total_y_advance; in normalize_glyphs_cluster()
1978 (unsigned int) abs (buf_pos->y_advance - ref_pos->y_advance) > position_fuzz || in hb_buffer_diff()
Dhb-graphite2.cc396 pPos->y_advance = gr_slot_advance_Y (is, grface, nullptr) * yscale; in _hb_graphite2_shape()
397 curradvy += pPos->y_advance; in _hb_graphite2_shape()
413 pPos->y_advance = gr_slot_advance_Y (is, grface, nullptr) * yscale; in _hb_graphite2_shape()
414 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.cc87 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()
1302 pos[i].y_advance = roundf (exit_y) + pos[i].y_offset; in apply()
1305 pos[j].y_advance -= d; in apply()
1310 pos[i].y_advance -= d; in apply()
1313 pos[j].y_advance = roundf (entry_y); in apply()
2016 pos[i].y_offset -= pos[k].y_advance; in propagate_attachment_offsets()
2021 pos[i].y_offset += pos[k].y_advance; in propagate_attachment_offsets()
Dhb-ot-shape.cc718 pos[i].x_advance = pos[i].y_advance = pos[i].x_offset = pos[i].y_offset = 0; in hb_ot_zero_width_default_ignorables()
853 pos->y_offset -= pos->y_advance; in adjust_mark_offsets()
860 pos->y_advance = 0; in zero_mark_width()
899 &pos[0].y_advance, sizeof(pos[0])); in hb_ot_position_default()
Dhb-coretext.cc904 hb_position_t x_advance, y_advance, x_offset, y_offset; in _hb_coretext_shape() local
905 hb_font_get_glyph_advance_for_direction (font, notdef, dir, &x_advance, &y_advance); in _hb_coretext_shape()
907 hb_position_t advance = x_advance + y_advance; in _hb_coretext_shape()
1080 pos->y_advance = info->mask; in _hb_coretext_shape()
Dhb-aat-layout-trak-table.hh193 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.cc257 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/
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()
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.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.c103 g_assert_cmpint (0, ==, positions[i].y_advance); in test_font()
Dtest-buffer.c310 g_assert_cmpint (0, ==, positions[i].y_advance); in test_buffer_positions()

12