Home
last modified time | relevance | path

Searched refs:x_advance (Results 1 – 25 of 97) sorted by relevance

1234

/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-ot-shape-fallback.cc200 buffer->pos[i].x_offset -= buffer->pos[i].x_advance; in zero_mark_advances()
203 buffer->pos[i].x_advance = 0; in zero_mark_advances()
349 x_offset -= buffer->pos[base].x_advance; in position_around_base()
395 buffer->pos[i].x_advance = 0; in position_around_base()
402 x_offset -= buffer->pos[i].x_advance; in position_around_base()
405 x_offset += buffer->pos[i].x_advance; in position_around_base()
545 pos[i].x_advance = +(font->x_scale + ((int) space_type)/2) / (int) space_type; in _hb_ot_shape_fallback_spaces()
552 pos[i].x_advance = (int64_t) +font->x_scale * 4 / 18; in _hb_ot_shape_fallback_spaces()
562 pos[i].x_advance = font->get_glyph_h_advance (glyph); in _hb_ot_shape_fallback_spaces()
574 pos[i].x_advance = font->get_glyph_h_advance (glyph); in _hb_ot_shape_fallback_spaces()
[all …]
Dsample.py59 x_advance = pos.x_advance variable
63 print ("gid%d=%d@%d,%d+%d" % (gid, cluster, x_advance, x_offset, y_offset))
Dhb-graphite2.cc408 pPos->x_advance = info->var1.i32; in _hb_graphite2_shape()
409 curradvx += pPos->x_advance; in _hb_graphite2_shape()
412 pPos->x_advance = 0.; in _hb_graphite2_shape()
425 pPos->x_advance = info->var1.i32; in _hb_graphite2_shape()
426 curradvx -= pPos->x_advance; in _hb_graphite2_shape()
429 pPos->x_advance = 0.; in _hb_graphite2_shape()
433 pPos->x_offset = gr_slot_origin_X (is) * xscale - info->var1.i32 - curradvx + pPos->x_advance; in _hb_graphite2_shape()
Dhb-fallback-shape.cc102 pos[i].x_advance = 0; in _hb_fallback_shape()
109 &pos[i].x_advance, in _hb_fallback_shape()
Dhb-kern.hh99 pos[i].x_advance += kern1; in kern()
100 pos[j].x_advance += kern2; in kern()
Dhb-buffer.cc1844 total_x_advance += pos[i].x_advance; in normalize_glyphs_cluster()
1848 hb_position_t x_advance = 0, y_advance = 0; in normalize_glyphs_cluster() local
1851 pos[i].x_offset += x_advance; in normalize_glyphs_cluster()
1854 x_advance += pos[i].x_advance; in normalize_glyphs_cluster()
1857 pos[i].x_advance = 0; in normalize_glyphs_cluster()
1864 pos[end - 1].x_advance = total_x_advance; in normalize_glyphs_cluster()
1870 pos[start].x_advance += total_x_advance; in normalize_glyphs_cluster()
2004 if ((unsigned int) abs (buf_pos->x_advance - ref_pos->x_advance) > position_fuzz || in hb_buffer_diff()
/third_party/harfbuzz/src/
Dhb-ot-shape-fallback.cc200 buffer->pos[i].x_offset -= buffer->pos[i].x_advance; in zero_mark_advances()
203 buffer->pos[i].x_advance = 0; in zero_mark_advances()
349 x_offset -= buffer->pos[base].x_advance; in position_around_base()
395 buffer->pos[i].x_advance = 0; in position_around_base()
402 x_offset -= buffer->pos[i].x_advance; in position_around_base()
405 x_offset += buffer->pos[i].x_advance; in position_around_base()
545 pos[i].x_advance = +(font->x_scale + ((int) space_type)/2) / (int) space_type; in _hb_ot_shape_fallback_spaces()
552 pos[i].x_advance = (int64_t) +font->x_scale * 4 / 18; in _hb_ot_shape_fallback_spaces()
562 pos[i].x_advance = font->get_glyph_h_advance (glyph); in _hb_ot_shape_fallback_spaces()
574 pos[i].x_advance = font->get_glyph_h_advance (glyph); in _hb_ot_shape_fallback_spaces()
[all …]
Dsample.py59 x_advance = pos.x_advance variable
63 print ("gid%d=%d@%d,%d+%d" % (gid, cluster, x_advance, x_offset, y_offset))
Dhb-graphite2.cc407 pPos->x_advance = info->var1.i32; in _hb_graphite2_shape()
408 curradvx += pPos->x_advance; in _hb_graphite2_shape()
411 pPos->x_advance = 0.; in _hb_graphite2_shape()
424 pPos->x_advance = info->var1.i32; in _hb_graphite2_shape()
425 curradvx -= pPos->x_advance; in _hb_graphite2_shape()
428 pPos->x_advance = 0.; in _hb_graphite2_shape()
432 pPos->x_offset = gr_slot_origin_X (is) * xscale - info->var1.i32 - curradvx + pPos->x_advance; in _hb_graphite2_shape()
Dhb-fallback-shape.cc102 pos[i].x_advance = 0; in _hb_fallback_shape()
109 &pos[i].x_advance, in _hb_fallback_shape()
Dhb-kern.hh99 pos[i].x_advance += kern1; in kern()
100 pos[j].x_advance += kern2; in kern()
Dhb-buffer.cc1785 total_x_advance += pos[i].x_advance; in normalize_glyphs_cluster()
1789 hb_position_t x_advance = 0, y_advance = 0; in normalize_glyphs_cluster() local
1792 pos[i].x_offset += x_advance; in normalize_glyphs_cluster()
1795 x_advance += pos[i].x_advance; in normalize_glyphs_cluster()
1798 pos[i].x_advance = 0; in normalize_glyphs_cluster()
1805 pos[end - 1].x_advance = total_x_advance; in normalize_glyphs_cluster()
1811 pos[start].x_advance += total_x_advance; in normalize_glyphs_cluster()
1945 if ((unsigned int) abs (buf_pos->x_advance - ref_pos->x_advance) > position_fuzz || in hb_buffer_diff()
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-ot-shape-fallback.cc196 buffer->pos[i].x_offset -= buffer->pos[i].x_advance; in zero_mark_advances()
199 buffer->pos[i].x_advance = 0; in zero_mark_advances()
345 x_offset -= buffer->pos[base].x_advance; in position_around_base()
391 buffer->pos[i].x_advance = 0; in position_around_base()
398 x_offset -= buffer->pos[i].x_advance; in position_around_base()
401 x_offset += buffer->pos[i].x_advance; in position_around_base()
541 pos[i].x_advance = +(font->x_scale + ((int) space_type)/2) / (int) space_type; in _hb_ot_shape_fallback_spaces()
548 pos[i].x_advance = (int64_t) +font->x_scale * 4 / 18; in _hb_ot_shape_fallback_spaces()
558 pos[i].x_advance = font->get_glyph_h_advance (glyph); in _hb_ot_shape_fallback_spaces()
570 pos[i].x_advance = font->get_glyph_h_advance (glyph); in _hb_ot_shape_fallback_spaces()
[all …]
Dsample.py75 x_advance = pos.x_advance variable
79 print("gid%d=%d@%d,%d+%d" % (gid, cluster, x_advance, x_offset, y_offset))
Dhb-graphite2.cc412 pPos->x_advance = info->var1.i32; in _hb_graphite2_shape()
413 curradvx += pPos->x_advance; in _hb_graphite2_shape()
416 pPos->x_advance = 0.; in _hb_graphite2_shape()
429 pPos->x_advance = info->var1.i32; in _hb_graphite2_shape()
430 curradvx -= pPos->x_advance; in _hb_graphite2_shape()
433 pPos->x_advance = 0.; in _hb_graphite2_shape()
437 pPos->x_offset = gr_slot_origin_X (is) * xscale - info->var1.i32 - curradvx + pPos->x_advance; in _hb_graphite2_shape()
Dhb-fallback-shape.cc101 pos[i].x_advance = 0; in _hb_fallback_shape()
108 &pos[i].x_advance, in _hb_fallback_shape()
Dhb-buffer-deserialize-text.hh401 { if (!parse_int (tok, p, &pos.x_advance)) return false; } in _hb_buffer_deserialize_glyphs_text()
457 { if (!parse_int (tok, p, &pos.x_advance)) return false; } in _hb_buffer_deserialize_glyphs_text()
534 { if (!parse_int (tok, p, &pos.x_advance)) return false; } in _hb_buffer_deserialize_glyphs_text()
Dhb-kern.hh100 pos[i].x_advance += kern1; in kern()
101 pos[j].x_advance += kern2; in kern()
Dhb-buffer-serialize.cc157 pos[i].x_advance, pos[i].y_advance)); in _hb_buffer_serialize_glyphs_json()
191 x += pos[i].x_advance; in _hb_buffer_serialize_glyphs_json()
245 p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "%d", pos[i].x_advance)); in _hb_buffer_serialize_glyphs_text()
277 x += pos[i].x_advance; in _hb_buffer_serialize_glyphs_text()
Dhb-buffer.cc1805 total_x_advance += pos[i].x_advance; in normalize_glyphs_cluster()
1809 hb_position_t x_advance = 0, y_advance = 0; in normalize_glyphs_cluster() local
1812 pos[i].x_offset += x_advance; in normalize_glyphs_cluster()
1815 x_advance += pos[i].x_advance; in normalize_glyphs_cluster()
1818 pos[i].x_advance = 0; in normalize_glyphs_cluster()
1825 pos[end - 1].x_advance = total_x_advance; in normalize_glyphs_cluster()
1831 pos[start].x_advance += total_x_advance; in normalize_glyphs_cluster()
1975 if ((unsigned int) abs (buf_pos->x_advance - ref_pos->x_advance) > position_fuzz || in hb_buffer_diff()
/third_party/flutter/skia/third_party/externals/harfbuzz/util/
Dhelper-cairo.hh72 void get_advance (double *x_advance, double *y_advance) { in get_advance()
73 *x_advance = glyphs[num_glyphs].x; in get_advance()
Dview-cairo.cc57 double x_advance, y_advance; in render() local
58 line.get_advance (&x_advance, &y_advance); in render()
62 w = MAX (w, x_sign * x_advance); in render()
/third_party/harfbuzz/util/
Dhelper-cairo.hh72 void get_advance (double *x_advance, double *y_advance) { in get_advance()
73 *x_advance = glyphs[num_glyphs].x; in get_advance()
Dview-cairo.cc65 double x_advance, y_advance; in render() local
66 line.get_advance (&x_advance, &y_advance); in render()
70 w = MAX (w, x_sign * x_advance); in render()
/third_party/skia/third_party/externals/harfbuzz/util/
Dview-cairo.hh127 double x_advance, y_advance; in render() local
128 line.get_advance (&x_advance, &y_advance); in render()
132 w = MAX (w, x_sign * x_advance); in render()

1234