Home
last modified time | relevance | path

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

12

/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-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()
Dhb-kern.hh99 pos[i].x_advance += kern1; in kern()
100 pos[j].x_advance += kern2; in kern()
Dhb-buffer-deserialize-text.hh506 { if (!parse_int (tok, p, &pos.x_advance)) return false; } in _hb_buffer_deserialize_text()
591 { if (!parse_int (tok, p, &pos.x_advance)) return false; } in _hb_buffer_deserialize_text()
789 { if (!parse_int (tok, p, &pos.x_advance)) return false; } in _hb_buffer_deserialize_text()
Dhb-buffer-serialize.cc160 pos[i].x_advance, pos[i].y_advance)); in _hb_buffer_serialize_glyphs_json()
196 x += pos[i].x_advance; in _hb_buffer_serialize_glyphs_json()
306 p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "%d", pos[i].x_advance)); in _hb_buffer_serialize_glyphs_text()
342 x += pos[i].x_advance; in _hb_buffer_serialize_glyphs_text()
Dhb-buffer-deserialize-json.hh600 { if (!parse_int (tok, p, &pos.x_advance)) return false; } in _hb_buffer_deserialize_json()
690 { if (!parse_int (tok, p, &pos.x_advance)) return false; } in _hb_buffer_deserialize_json()
Dtest.cc83 pos->x_advance, in main()
Dhb-ot-shape.cc836 pos[i].x_advance = pos[i].y_advance = pos[i].x_offset = pos[i].y_offset = 0; in hb_ot_zero_width_default_ignorables()
973 pos->x_offset -= pos->x_advance; in adjust_mark_offsets()
980 pos->x_advance = 0; in zero_mark_width()
1009 &pos[0].x_advance, sizeof(pos[0])); in hb_ot_position_default()
Dhb-coretext.cc999 hb_position_t x_advance, y_advance, x_offset, y_offset; in _hb_coretext_shape() local
1000 hb_font_get_glyph_advance_for_direction (font, notdef, dir, &x_advance, &y_advance); in _hb_coretext_shape()
1002 hb_position_t advance = x_advance + y_advance; in _hb_coretext_shape()
1166 pos->x_advance = info->mask; in _hb_coretext_shape()
Dhb-aat-layout-trak-table.hh180 buffer->pos[start].x_advance += advance_to_add; in apply()
Dhb-ot-layout-gpos-table.hh126 if (likely (horizontal)) glyph_pos.x_advance += font->em_scale_x (get_short (values, &ret)); in apply_value()
154 …if (horizontal && use_x_device) glyph_pos.x_advance += (base + get_device (values, &ret)).get_x_de… in apply_value()
1815 pos[i].x_advance = roundf (exit_x) + pos[i].x_offset; in apply()
1818 pos[j].x_advance -= d; in apply()
1823 pos[i].x_advance -= d; in apply()
1826 pos[j].x_advance = roundf (entry_x) + pos[j].x_offset; in apply()
2922 pos[i].x_offset -= pos[k].x_advance; in propagate_attachment_offsets()
2927 pos[i].x_offset += pos[k].x_advance; in propagate_attachment_offsets()
Dhb-buffer-deserialize-text.rl71 action parse_x_advance { if (!parse_int (tok, p, &pos.x_advance)) return false; }
Dhb-buffer-deserialize-json.rl70 action parse_x_advance { if (!parse_int (tok, p, &pos.x_advance)) return false; }
Dhb-buffer.h127 hb_position_t x_advance; member
Dhb-aat-layout.cc278 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()
Dhb-ot-shape-complex-arabic.cc519 w_total += pos[context].x_advance; in apply_stch()
/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()
Dhelper-cairo.hh604 void get_advance (double *x_advance, double *y_advance) { in get_advance()
605 *x_advance = glyphs[num_glyphs].x; in get_advance()
650 x += hb_position->x_advance; in helper_cairo_line_from_buffer()
/third_party/skia/third_party/externals/freetype/src/autofit/
Dafshaper.h61 FT_Long* x_advance,
Dafshaper.c579 *advance = gpos[idx].x_advance; in af_shaper_get_elem()
/third_party/skia/third_party/externals/harfbuzz/test/shape/data/aots/
Dhb-aots-tester.cpp328 curX += pos[i].x_advance; in gpos_test()
361 printf (" %d/%d", pos[i].x_advance, pos[i].x_offset); in gpos_test()
/third_party/skia/third_party/externals/harfbuzz/test/api/
Dtest-shape.c101 g_assert_cmpint (output_x_advances[i], ==, positions[i].x_advance); in test_font()

12