Home
last modified time | relevance | path

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

12

/external/harfbuzz_ng/src/
Dhb-ot-shape-fallback.cc189 buffer->pos[i].x_advance = 0; in zero_mark_advances()
330 x_offset -= buffer->pos[base].x_advance; in position_around_base()
376 buffer->pos[i].x_advance = 0; in position_around_base()
383 x_offset -= buffer->pos[i].x_advance; in position_around_base()
386 x_offset += buffer->pos[i].x_advance; in position_around_base()
512 pos[i].x_advance = +(font->x_scale + ((int) space_type)/2) / (int) space_type; in _hb_ot_shape_fallback_spaces()
519 pos[i].x_advance = (int64_t) +font->x_scale * 4 / 18; in _hb_ot_shape_fallback_spaces()
529 pos[i].x_advance = font->get_glyph_h_advance (glyph); in _hb_ot_shape_fallback_spaces()
541 pos[i].x_advance = font->get_glyph_h_advance (glyph); in _hb_ot_shape_fallback_spaces()
554 pos[i].x_advance /= 2; in _hb_ot_shape_fallback_spaces()
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.cc407 pPos->x_advance = info->var1.i32 * xscale; 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 * xscale; 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) - info->var1.i32) * xscale - 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-buffer-serialize.cc153 pos[i].x_advance, pos[i].y_advance)); in _hb_buffer_serialize_glyphs_json()
187 x += pos[i].x_advance; in _hb_buffer_serialize_glyphs_json()
241 p += MAX (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "%d", pos[i].x_advance)); in _hb_buffer_serialize_glyphs_text()
273 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()
Dhb-kern.hh100 pos[i].x_advance += kern1; in kern()
101 pos[j].x_advance += kern2; in kern()
Dhb-buffer-deserialize-json.hh545 { if (!parse_int (tok, p, &pos.x_advance)) return false; } in _hb_buffer_deserialize_glyphs_json()
601 { if (!parse_int (tok, p, &pos.x_advance)) return false; } in _hb_buffer_deserialize_glyphs_json()
Dtest.cc82 pos->x_advance, in main()
Dhb-ot-layout-gpos-table.hh119 if (likely (horizontal)) glyph_pos.x_advance += font->em_scale_x (get_short (values, &ret)); in apply_value()
147 …if (horizontal && use_x_device) glyph_pos.x_advance += (base + get_device (values, &ret)).get_x_de… in apply_value()
1010 pos[i].x_advance = round (exit_x) + pos[i].x_offset; in apply()
1013 pos[j].x_advance -= d; in apply()
1018 pos[i].x_advance -= d; in apply()
1021 pos[j].x_advance = round (entry_x) + pos[j].x_offset; in apply()
1707 pos[i].x_offset -= pos[k].x_advance; in propagate_attachment_offsets()
1712 pos[i].x_offset += pos[k].x_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()
762 pos->x_offset -= pos->x_advance; in adjust_mark_offsets()
769 pos->x_advance = 0; in zero_mark_width()
798 &pos[0].x_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()
1085 pos->x_advance = info->mask; in _hb_coretext_shape()
Dhb-aat-layout-trak-table.hh187 buffer->pos[start].x_advance += advance_to_add; in apply()
Dhb-buffer-deserialize-text.rl65 action parse_x_advance { if (!parse_int (tok, p, &pos.x_advance)) return false; }
Dhb-buffer-deserialize-json.rl66 action parse_x_advance { if (!parse_int (tok, p, &pos.x_advance)) return false; }
Dhb-buffer.h126 hb_position_t x_advance; member
/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()
62 w = MAX (w, x_sign * x_advance); in render()
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()
/external/skqp/third_party/harfbuzz/
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-buffer-deserialize-json.hh545 { if (!parse_int (tok, p, &pos.x_advance)) return false; } in _hb_buffer_deserialize_glyphs_json()
601 { if (!parse_int (tok, p, &pos.x_advance)) return false; } in _hb_buffer_deserialize_glyphs_json()
/external/freetype/src/autofit/
Dafshaper.h62 FT_Long* x_advance,
/external/harfbuzz_ng/test/shaping/data/aots/
Dhb-aots-tester.cpp237 curX += pos[i].x_advance; in gpos_test()
268 printf (" %d/%d", pos[i].x_advance, pos[i].x_offset); in gpos_test()
/external/harfbuzz_ng/test/api/
Dtest-shape.c130 g_assert_cmpint (output_x_advances[i], ==, positions[i].x_advance); in test_shape()
/external/ImageMagick/MagickCore/
Dannotate.c119 x_advance, member
1143 (*grapheme)[i].x_advance=glyphs[i].x_advance; in ComplexTextLayout()
1190 (*grapheme)[i-1].x_advance+=(FT_Pos) ((draw_info->direction == in ComplexTextLayout()
1195 (*grapheme)[i].x_advance=face->glyph->advance.x; in ComplexTextLayout()
1765 origin.x+=(FT_Pos) grapheme[i].x_advance; in RenderFreetype()

12