Home
last modified time | relevance | path

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

12

/external/harfbuzz_ng/src/
Dhb-ot-shape-fallback.cc189 buffer->pos[i].x_advance = 0; in zero_mark_advances()
329 x_offset -= buffer->pos[base].x_advance; in position_around_base()
375 buffer->pos[i].x_advance = 0; in position_around_base()
382 x_offset -= buffer->pos[i].x_advance; in position_around_base()
385 x_offset += buffer->pos[i].x_advance; in position_around_base()
473 pos[idx].x_advance += kern1; in _hb_ot_shape_fallback_kern()
474 pos[skippy_iter.idx].x_advance += kern2; in _hb_ot_shape_fallback_kern()
523 pos[i].x_advance = (font->x_scale + ((int) space_type)/2) / (int) space_type; in _hb_ot_shape_fallback_spaces()
527 pos[i].x_advance = font->x_scale * 4 / 18; in _hb_ot_shape_fallback_spaces()
534 pos[i].x_advance = font->get_glyph_h_advance (glyph); in _hb_ot_shape_fallback_spaces()
[all …]
Dsample.py74 x_advance = pos.x_advance variable
78 print("gid%d=%d@%d,%d+%d" % (gid, cluster, x_advance, x_offset, y_offset))
Dhb-graphite2.cc385 pPos->x_advance = info->var1.i32 * xscale; in _hb_graphite2_shape()
386 curradvx += pPos->x_advance; in _hb_graphite2_shape()
389 pPos->x_advance = 0.; in _hb_graphite2_shape()
402 pPos->x_advance = info->var1.i32 * xscale; in _hb_graphite2_shape()
403 curradvx -= pPos->x_advance; in _hb_graphite2_shape()
406 pPos->x_advance = 0.; in _hb_graphite2_shape()
410 … pPos->x_offset = (gr_slot_origin_X (is) - info->var1.i32) * xscale - curradvx + pPos->x_advance; in _hb_graphite2_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-fallback-shape.cc128 pos[i].x_advance = 0; in _hb_fallback_shape()
135 &pos[i].x_advance, in _hb_fallback_shape()
Dhb-buffer.cc1787 total_x_advance += pos[i].x_advance; in normalize_glyphs_cluster()
1791 hb_position_t x_advance = 0, y_advance = 0; in normalize_glyphs_cluster() local
1794 pos[i].x_offset += x_advance; in normalize_glyphs_cluster()
1797 x_advance += pos[i].x_advance; in normalize_glyphs_cluster()
1800 pos[i].x_advance = 0; in normalize_glyphs_cluster()
1807 pos[end - 1].x_advance = total_x_advance; in normalize_glyphs_cluster()
1813 pos[start].x_advance += total_x_advance; in normalize_glyphs_cluster()
1953 if ((unsigned int) abs (buf_pos->x_advance - ref_pos->x_advance) > position_fuzz || in hb_buffer_diff()
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()
Dhb-ot-layout-gpos-table.hh120 if (likely (horizontal)) glyph_pos.x_advance += font->em_scale_x (get_short (values)); in apply_value()
148 …if (horizontal && use_x_device) glyph_pos.x_advance += (base + get_device (values)).get_x_delta (f… in apply_value()
932 pos[i].x_advance = exit_x + pos[i].x_offset; in apply()
935 pos[j].x_advance -= d; in apply()
940 pos[i].x_advance -= d; in apply()
943 pos[j].x_advance = entry_x + pos[j].x_offset; in apply()
1573 pos[i].x_offset -= pos[k].x_advance; in propagate_attachment_offsets()
1578 pos[i].x_offset += pos[k].x_advance; in propagate_attachment_offsets()
Dtest.cc122 pos->x_advance, in main()
Dhb-buffer-serialize.cc151 pos[i].x_advance, pos[i].y_advance)); in _hb_buffer_serialize_glyphs_json()
230 p += MAX (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "%d", pos[i].x_advance)); in _hb_buffer_serialize_glyphs_text()
Dhb-ot-shape.cc462 pos[i].x_advance = pos[i].y_advance = pos[i].x_offset = pos[i].y_offset = 0; in hb_ot_zero_width_default_ignorables()
635 pos->x_offset -= pos->x_advance; in adjust_mark_offsets()
642 pos->x_advance = 0; in zero_mark_width()
671 pos[i].x_advance = c->font->get_glyph_h_advance (info[i].codepoint); in hb_ot_position_default()
Dhb-coretext.cc1067 hb_position_t x_advance, y_advance, x_offset, y_offset; in _hb_coretext_shape() local
1068 hb_font_get_glyph_advance_for_direction (font, notdef, dir, &x_advance, &y_advance); in _hb_coretext_shape()
1070 hb_position_t advance = x_advance + y_advance; in _hb_coretext_shape()
1234 pos->x_advance = info->mask; in _hb_coretext_shape()
Dhb-buffer-deserialize-text.rl65 action parse_x_advance { if (!parse_int (tok, p, &pos.x_advance)) return false; }
Dhb-buffer.h104 hb_position_t x_advance; member
Dhb-buffer-deserialize-json.rl66 action parse_x_advance { if (!parse_int (tok, p, &pos.x_advance)) return false; }
/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/skia/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,
Dafshaper.c565 *advance = gpos[idx].x_advance; in af_shaper_get_elem()
/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.c118 x_advance, member
1099 (*grapheme)[i].x_advance=glyphs[i].x_advance; in ComplexTextLayout()
1145 (*grapheme)[i-1].x_advance+=(FT_Pos) ((draw_info->direction == in ComplexTextLayout()
1150 (*grapheme)[i].x_advance=face->glyph->advance.x; in ComplexTextLayout()
1684 origin.x+=(FT_Pos) grapheme[i].x_advance; in RenderFreetype()

12