Home
last modified time | relevance | path

Searched refs:hb_position_t (Results 1 – 25 of 45) sorted by relevance

12

/external/harfbuzz_ng/src/
Dhb-font.hh134 hb_position_t em_scale_x (int16_t v) { return em_mult (v, x_mult); } in em_scale_x()
135 hb_position_t em_scale_y (int16_t v) { return em_mult (v, y_mult); } in em_scale_y()
136 hb_position_t em_scalef_x (float v) { return em_scalef (v, x_scale); } in em_scalef_x()
137 hb_position_t em_scalef_y (float v) { return em_scalef (v, y_scale); } in em_scalef_y()
140 hb_position_t em_scale_dir (int16_t v, hb_direction_t direction) in em_scale_dir()
144 hb_position_t parent_scale_x_distance (hb_position_t v) in parent_scale_x_distance()
147 return (hb_position_t) (v * (int64_t) this->x_scale / this->parent->x_scale); in parent_scale_x_distance()
150 hb_position_t parent_scale_y_distance (hb_position_t v) in parent_scale_y_distance()
153 return (hb_position_t) (v * (int64_t) this->y_scale / this->parent->y_scale); in parent_scale_y_distance()
156 hb_position_t parent_scale_x_position (hb_position_t v) in parent_scale_x_position()
[all …]
Dhb-font.h86 hb_position_t ascender; /* typographic ascender. */
87 hb_position_t descender; /* typographic descender. */
88 hb_position_t line_gap; /* suggested line spacing gap. */
90 hb_position_t reserved9;
91 hb_position_t reserved8;
92 hb_position_t reserved7;
93 hb_position_t reserved6;
94 hb_position_t reserved5;
95 hb_position_t reserved4;
96 hb_position_t reserved3;
[all …]
Dhb-ot-math.h143 hb_position_t advance;
173 hb_position_t start_connector_length;
174 hb_position_t end_connector_length;
175 hb_position_t full_advance;
184 HB_EXTERN hb_position_t
188 HB_EXTERN hb_position_t
192 HB_EXTERN hb_position_t
200 HB_EXTERN hb_position_t
204 hb_position_t correction_height);
214 HB_EXTERN hb_position_t
[all …]
Dhb-font.cc178 static hb_position_t
186 static hb_position_t
194 hb_position_t ret; in hb_font_get_glyph_h_advance_default()
201 static hb_position_t
210 static hb_position_t
218 hb_position_t ret; in hb_font_get_glyph_v_advance_default()
232 hb_position_t *first_advance, in hb_font_get_glyph_h_advances_default()
242 first_advance = &StructAtOffsetUnaligned<hb_position_t> (first_advance, advance_stride); in hb_font_get_glyph_h_advances_default()
253 first_advance = &StructAtOffsetUnaligned<hb_position_t> (first_advance, advance_stride); in hb_font_get_glyph_h_advances_default()
264 hb_position_t *first_advance, in hb_font_get_glyph_v_advances_default()
[all …]
Dhb-ot-math-table.hh39 hb_position_t get_x_value (hb_font_t *font, const void *base) const in get_x_value()
41 hb_position_t get_y_value (hb_font_t *font, const void *base) const in get_y_value()
80 hb_position_t get_value (hb_ot_math_constant_t constant, in get_value()
176 hb_position_t get_value (hb_codepoint_t glyph, in get_value()
207 hb_position_t get_value (hb_codepoint_t glyph, in get_value()
249 hb_position_t get_value (hb_position_t correction_height, hb_font_t *font) const in get_value()
268 hb_position_t height = correctionHeight[i + half].get_y_value (font, this); in get_value()
309 hb_position_t get_kerning (hb_ot_math_kern_t kern, in get_kerning()
310 hb_position_t correction_height, in get_kerning()
338 hb_position_t get_kerning (hb_codepoint_t glyph, in get_kerning()
[all …]
Dhb-ot-math.cc86 hb_position_t
105 hb_position_t
131 hb_position_t
175 hb_position_t
179 hb_position_t correction_height) in hb_ot_math_get_glyph_kerning()
242 hb_position_t
281 hb_position_t *italics_correction /* OUT */) in hb_ot_math_get_glyph_assembly()
Dhb-kern.hh80 hb_position_t kern = driver.get_kerning (info[i].codepoint, in kern()
98 hb_position_t kern1 = kern >> 1; in kern()
99 hb_position_t kern2 = kern - kern1; in kern()
116 hb_position_t kern1 = kern >> 1; in kern()
117 hb_position_t kern2 = kern - kern1; in kern()
Dhb-ot-font.cc106 hb_position_t *first_advance, in hb_ot_get_glyph_h_advances()
117 first_advance = &StructAtOffsetUnaligned<hb_position_t> (first_advance, advance_stride); in hb_ot_get_glyph_h_advances()
126 hb_position_t *first_advance, in hb_ot_get_glyph_v_advances()
137 first_advance = &StructAtOffsetUnaligned<hb_position_t> (first_advance, advance_stride); in hb_ot_get_glyph_v_advances()
145 hb_position_t *x, in hb_ot_get_glyph_v_origin()
146 hb_position_t *y, in hb_ot_get_glyph_v_origin()
166 hb_position_t tsb = vmtx.get_side_bearing (font, glyph); in hb_ot_get_glyph_v_origin()
Dhb-ot-metrics.h109 hb_position_t *position /* OUT. May be NULL. */);
114 HB_EXTERN hb_position_t
117 HB_EXTERN hb_position_t
Dhb-ot-layout-gdef-table.hh101 hb_position_t get_caret_value (hb_font_t *font, hb_direction_t direction) const in get_caret_value()
124hb_position_t get_caret_value (hb_font_t *font, hb_direction_t direction, hb_codepoint_t glyph_id)… in get_caret_value()
126 hb_position_t x, y; in get_caret_value()
148 hb_position_t get_caret_value (hb_font_t *font, hb_direction_t direction, in get_caret_value()
175 hb_position_t get_caret_value (hb_font_t *font, in get_caret_value()
219 hb_position_t *caret_array /* OUT */) const in get_lig_carets()
255 hb_position_t *caret_array /* OUT */) const in get_lig_carets()
378 hb_position_t *caret_array /* OUT */) const in get_lig_carets()
Dhb-aat-layout-lcar-table.hh48 hb_position_t *caret_array /* OUT */, in get_lig_carets()
83 hb_position_t *caret_array /* OUT */, in get_lig_carets()
94 hb_position_t x = 0, y = 0; in get_lig_carets()
124 hb_position_t *caret_array /* OUT */) const in get_lig_carets()
Dhb-ot-layout-base-table.hh44 hb_position_t get_coord () const { return coordinate; } in get_coord()
61 hb_position_t get_coord () const in get_coord()
85 hb_position_t get_coord (hb_font_t *font, in get_coord()
118 hb_position_t get_coord (hb_font_t *font, in get_coord()
447 hb_position_t *base) const in get_baseline()
466 hb_position_t *min, in get_min_max()
467 hb_position_t *max) in get_min_max()
Dhb-ot-shape-complex-arabic.cc490 hb_position_t w_total = 0; // Total to be filled in apply_stch()
491 hb_position_t w_fixed = 0; // Sum of fixed tiles in apply_stch()
492 hb_position_t w_repeating = 0; // Sum of repeating tiles in apply_stch()
501 hb_position_t width = font->get_glyph_h_advance (info[i].codepoint); in apply_stch()
534 hb_position_t w_remaining = w_total - w_fixed; in apply_stch()
539 hb_position_t extra_repeat_overlap = 0; in apply_stch()
540 hb_position_t shortfall = sign * w_remaining - sign * w_repeating * (n_copies + 1); in apply_stch()
544 hb_position_t excess = (n_copies + 1) * sign * w_repeating - sign * w_remaining; in apply_stch()
557 hb_position_t x_offset = 0; in apply_stch()
560 hb_position_t width = font->get_glyph_h_advance (info[k - 1].codepoint); in apply_stch()
Dhb-aat-layout-trak-table.hh175 hb_position_t offset_to_add = c->font->em_scalef_x (tracking / 2); in apply()
176 hb_position_t advance_to_add = c->font->em_scalef_x (tracking); in apply()
188 hb_position_t offset_to_add = c->font->em_scalef_y (tracking / 2); in apply()
189 hb_position_t advance_to_add = c->font->em_scalef_y (tracking); in apply()
Dhb-ot-metrics.cc53 hb_position_t *position /* OUT. May be NULL. */) in _hb_ot_metrics_get_position_common()
125 hb_position_t *position /* OUT. May be NULL. */) in hb_ot_metrics_get_position()
209 hb_position_t
224 hb_position_t
Dhb-buffer.h126 hb_position_t x_advance;
127 hb_position_t y_advance;
128 hb_position_t x_offset;
129 hb_position_t y_offset;
Dhb-ft.cc266 hb_position_t *first_advance, in hb_ft_get_glyph_h_advances()
298 first_advance = &StructAtOffsetUnaligned<hb_position_t> (first_advance, advance_stride); in hb_ft_get_glyph_h_advances()
302 static hb_position_t
327 hb_position_t *x, in hb_ft_get_glyph_v_origin()
328 hb_position_t *y, in hb_ft_get_glyph_v_origin()
352 static hb_position_t
406 hb_position_t *x, in hb_ft_get_glyph_contour_point()
407 hb_position_t *y, in hb_ft_get_glyph_contour_point()
Dhb-ot-shape-fallback.cc220 hb_position_t y_gap = font->y_scale / 16; in position_mark()
347 hb_position_t x_offset = 0, y_offset = 0; in position_around_base()
470 hb_position_t get_kerning (hb_codepoint_t first, hb_codepoint_t second) const in get_kerning()
472 hb_position_t kern = 0; in get_kerning()
Dhb-ot-metrics.hh33 hb_position_t *position /* OUT. May be NULL. */);
/external/harfbuzz_ng/test/api/
Dtest-shape.c43 static hb_position_t
92 const hb_position_t output_x_advances[] = {10, 6, 5, 10}; in test_font()
93 const hb_position_t output_x_offsets[] = {0, 0, 0, 0}; in test_font()
169 const hb_position_t output_clusters[] = {0}; in test_shape_clusters()
Dtest-font.c126 hb_position_t x, y; in _test_font_nil_funcs()
212 hb_position_t *x, hb_position_t *y, in contour_point_func1()
232 hb_position_t *x, hb_position_t *y, in contour_point_func2()
245 static hb_position_t
269 hb_position_t x; in test_fontfuncs_subclassing()
270 hb_position_t y; in test_fontfuncs_subclassing()
Dtest-ot-metrics.c38 hb_position_t value; in test_ot_metrics_get_no_var()
54 hb_position_t value; in test_ot_metrics_get_var()
Dtest-ot-metrics-tt-var.c74 hb_position_t x, y; in test_advance_tt_var_nohvar()
110 hb_position_t x, y; in test_advance_tt_var_hvarvvar()
223 hb_position_t x, y; in test_advance_tt_var_comp_v()
Dtest-baseline.c37 hb_position_t position; in test_ot_layout_base()
Dtest-ot-ligature-carets.c37 hb_position_t caret_array[2]; in test_ot_layout_feature_get_name_ids_and_characters()

12