Lines Matching defs:hb_font_t
103 struct hb_font_t struct
107 hb_font_t *parent; argument
129 hb_shaper_object_dataset_t<hb_font_t> data; /* Various shaper data. */ argument
133 int64_t dir_mult (hb_direction_t direction) in dir_mult()
135 hb_position_t em_scale_x (int16_t v) { return em_mult (v, x_mult); } in em_scale_x()
136 hb_position_t em_scale_y (int16_t v) { return em_mult (v, y_mult); } in em_scale_y()
137 hb_position_t em_scalef_x (float v) { return em_scalef (v, x_scale); } in em_scalef_x()
138 hb_position_t em_scalef_y (float v) { return em_scalef (v, y_scale); } in em_scalef_y()
139 float em_fscale_x (int16_t v) { return em_fscale (v, x_scale); } in em_fscale_x()
140 float em_fscale_y (int16_t v) { return em_fscale (v, y_scale); } in em_fscale_y()
141 hb_position_t em_scale_dir (int16_t v, hb_direction_t direction) in em_scale_dir()
145 hb_position_t parent_scale_x_distance (hb_position_t v) in parent_scale_x_distance()
151 hb_position_t parent_scale_y_distance (hb_position_t v) in parent_scale_y_distance()
157 hb_position_t parent_scale_x_position (hb_position_t v) in parent_scale_x_position()
159 hb_position_t parent_scale_y_position (hb_position_t v) in parent_scale_y_position()
162 void parent_scale_distance (hb_position_t *x, hb_position_t *y) in parent_scale_distance()
167 void parent_scale_position (hb_position_t *x, hb_position_t *y) in parent_scale_position()
198 hb_bool_t get_font_h_extents (hb_font_extents_t *extents) in get_font_h_extents()
205 hb_bool_t get_font_v_extents (hb_font_extents_t *extents) in get_font_v_extents()
213 bool has_glyph (hb_codepoint_t unicode) in has_glyph()
219 hb_bool_t get_nominal_glyph (hb_codepoint_t unicode, in get_nominal_glyph()
227 unsigned int get_nominal_glyphs (unsigned int count, in get_nominal_glyphs()
240 hb_bool_t get_variation_glyph (hb_codepoint_t unicode, hb_codepoint_t variation_selector, in get_variation_glyph()
249 hb_position_t get_glyph_h_advance (hb_codepoint_t glyph) in get_glyph_h_advance()
256 hb_position_t get_glyph_v_advance (hb_codepoint_t glyph) in get_glyph_v_advance()
263 void get_glyph_h_advances (unsigned int count, in get_glyph_h_advances()
276 void get_glyph_v_advances (unsigned int count, in get_glyph_v_advances()
289 hb_bool_t get_glyph_h_origin (hb_codepoint_t glyph, in get_glyph_h_origin()
298 hb_bool_t get_glyph_v_origin (hb_codepoint_t glyph, in get_glyph_v_origin()
307 hb_position_t get_glyph_h_kerning (hb_codepoint_t left_glyph, in get_glyph_h_kerning()
319 hb_position_t get_glyph_v_kerning (hb_codepoint_t top_glyph, in get_glyph_v_kerning()
331 hb_bool_t get_glyph_extents (hb_codepoint_t glyph, in get_glyph_extents()
341 hb_bool_t get_glyph_contour_point (hb_codepoint_t glyph, unsigned int point_index, in get_glyph_contour_point()
351 hb_bool_t get_glyph_name (hb_codepoint_t glyph, in get_glyph_name()
361 hb_bool_t get_glyph_from_name (const char *name, int len, /* -1 means nul-terminated */ in get_glyph_from_name()
375 void get_h_extents_with_fallback (hb_font_extents_t *extents) in get_h_extents_with_fallback()
384 void get_v_extents_with_fallback (hb_font_extents_t *extents) in get_v_extents_with_fallback()
394 void get_extents_for_direction (hb_direction_t direction, in get_extents_for_direction()
403 void get_glyph_advance_for_direction (hb_codepoint_t glyph, in get_glyph_advance_for_direction()
413 void get_glyph_advances_for_direction (hb_direction_t direction, in get_glyph_advances_for_direction()
426 void guess_v_origin_minus_h_origin (hb_codepoint_t glyph, in guess_v_origin_minus_h_origin()
437 void get_glyph_h_origin_with_fallback (hb_codepoint_t glyph, in get_glyph_h_origin_with_fallback()
448 void get_glyph_v_origin_with_fallback (hb_codepoint_t glyph, in get_glyph_v_origin_with_fallback()
460 void get_glyph_origin_for_direction (hb_codepoint_t glyph, in get_glyph_origin_for_direction()
470 void add_glyph_h_origin (hb_codepoint_t glyph, in add_glyph_h_origin()
480 void add_glyph_v_origin (hb_codepoint_t glyph, in add_glyph_v_origin()
490 void add_glyph_origin_for_direction (hb_codepoint_t glyph, in add_glyph_origin_for_direction()
502 void subtract_glyph_h_origin (hb_codepoint_t glyph, in subtract_glyph_h_origin()
512 void subtract_glyph_v_origin (hb_codepoint_t glyph, in subtract_glyph_v_origin()
522 void subtract_glyph_origin_for_direction (hb_codepoint_t glyph, in subtract_glyph_origin_for_direction()
534 void get_glyph_kerning_for_direction (hb_codepoint_t first_glyph, hb_codepoint_t second_glyph, in get_glyph_kerning_for_direction()
547 hb_bool_t get_glyph_extents_for_origin (hb_codepoint_t glyph, in get_glyph_extents_for_origin()
559 hb_bool_t get_glyph_contour_point_for_origin (hb_codepoint_t glyph, unsigned int point_index, in get_glyph_contour_point_for_origin()
573 glyph_to_string (hb_codepoint_t glyph, in glyph_to_string()
584 glyph_from_string (const char *s, int len, /* -1 means nul-terminated */ in glyph_from_string()
629 DECLARE_NULL_INSTANCE (hb_font_t); argument