Lines Matching defs:hb_font_t
103 struct hb_font_t struct
107 hb_font_t *parent; argument
126 hb_shaper_object_dataset_t<hb_font_t> data; /* Various shaper data. */ argument
130 int dir_scale (hb_direction_t direction) in dir_scale()
132 hb_position_t em_scale_x (int16_t v) { return em_scale (v, x_scale); } in em_scale_x()
133 hb_position_t em_scale_y (int16_t v) { return em_scale (v, y_scale); } in em_scale_y()
134 hb_position_t em_scalef_x (float v) { return em_scalef (v, this->x_scale); } in em_scalef_x()
135 hb_position_t em_scalef_y (float v) { return em_scalef (v, this->y_scale); } in em_scalef_y()
136 float em_fscale_x (int16_t v) { return em_fscale (v, x_scale); } in em_fscale_x()
137 float em_fscale_y (int16_t v) { return em_fscale (v, y_scale); } in em_fscale_y()
138 hb_position_t em_scale_dir (int16_t v, hb_direction_t direction) in em_scale_dir()
142 hb_position_t parent_scale_x_distance (hb_position_t v) in parent_scale_x_distance()
148 hb_position_t parent_scale_y_distance (hb_position_t v) in parent_scale_y_distance()
154 hb_position_t parent_scale_x_position (hb_position_t v) in parent_scale_x_position()
156 hb_position_t parent_scale_y_position (hb_position_t v) in parent_scale_y_position()
159 void parent_scale_distance (hb_position_t *x, hb_position_t *y) in parent_scale_distance()
164 void parent_scale_position (hb_position_t *x, hb_position_t *y) in parent_scale_position()
195 hb_bool_t get_font_h_extents (hb_font_extents_t *extents) in get_font_h_extents()
202 hb_bool_t get_font_v_extents (hb_font_extents_t *extents) in get_font_v_extents()
210 bool has_glyph (hb_codepoint_t unicode) in has_glyph()
216 hb_bool_t get_nominal_glyph (hb_codepoint_t unicode, in get_nominal_glyph()
224 unsigned int get_nominal_glyphs (unsigned int count, in get_nominal_glyphs()
237 hb_bool_t get_variation_glyph (hb_codepoint_t unicode, hb_codepoint_t variation_selector, in get_variation_glyph()
246 hb_position_t get_glyph_h_advance (hb_codepoint_t glyph) in get_glyph_h_advance()
253 hb_position_t get_glyph_v_advance (hb_codepoint_t glyph) in get_glyph_v_advance()
260 void get_glyph_h_advances (unsigned int count, in get_glyph_h_advances()
273 void get_glyph_v_advances (unsigned int count, in get_glyph_v_advances()
286 hb_bool_t get_glyph_h_origin (hb_codepoint_t glyph, in get_glyph_h_origin()
295 hb_bool_t get_glyph_v_origin (hb_codepoint_t glyph, in get_glyph_v_origin()
304 hb_position_t get_glyph_h_kerning (hb_codepoint_t left_glyph, in get_glyph_h_kerning()
312 hb_position_t get_glyph_v_kerning (hb_codepoint_t top_glyph, in get_glyph_v_kerning()
320 hb_bool_t get_glyph_extents (hb_codepoint_t glyph, in get_glyph_extents()
330 hb_bool_t get_glyph_contour_point (hb_codepoint_t glyph, unsigned int point_index, in get_glyph_contour_point()
340 hb_bool_t get_glyph_name (hb_codepoint_t glyph, in get_glyph_name()
350 hb_bool_t get_glyph_from_name (const char *name, int len, /* -1 means nul-terminated */ in get_glyph_from_name()
364 void get_h_extents_with_fallback (hb_font_extents_t *extents) in get_h_extents_with_fallback()
373 void get_v_extents_with_fallback (hb_font_extents_t *extents) in get_v_extents_with_fallback()
383 void get_extents_for_direction (hb_direction_t direction, in get_extents_for_direction()
392 void get_glyph_advance_for_direction (hb_codepoint_t glyph, in get_glyph_advance_for_direction()
402 void get_glyph_advances_for_direction (hb_direction_t direction, in get_glyph_advances_for_direction()
415 void guess_v_origin_minus_h_origin (hb_codepoint_t glyph, in guess_v_origin_minus_h_origin()
426 void get_glyph_h_origin_with_fallback (hb_codepoint_t glyph, in get_glyph_h_origin_with_fallback()
437 void get_glyph_v_origin_with_fallback (hb_codepoint_t glyph, in get_glyph_v_origin_with_fallback()
449 void get_glyph_origin_for_direction (hb_codepoint_t glyph, in get_glyph_origin_for_direction()
459 void add_glyph_h_origin (hb_codepoint_t glyph, in add_glyph_h_origin()
469 void add_glyph_v_origin (hb_codepoint_t glyph, in add_glyph_v_origin()
479 void add_glyph_origin_for_direction (hb_codepoint_t glyph, in add_glyph_origin_for_direction()
491 void subtract_glyph_h_origin (hb_codepoint_t glyph, in subtract_glyph_h_origin()
501 void subtract_glyph_v_origin (hb_codepoint_t glyph, in subtract_glyph_v_origin()
511 void subtract_glyph_origin_for_direction (hb_codepoint_t glyph, in subtract_glyph_origin_for_direction()
523 void get_glyph_kerning_for_direction (hb_codepoint_t first_glyph, hb_codepoint_t second_glyph, in get_glyph_kerning_for_direction()
536 hb_bool_t get_glyph_extents_for_origin (hb_codepoint_t glyph, in get_glyph_extents_for_origin()
548 hb_bool_t get_glyph_contour_point_for_origin (hb_codepoint_t glyph, unsigned int point_index, in get_glyph_contour_point_for_origin()
562 glyph_to_string (hb_codepoint_t glyph, in glyph_to_string()
573 glyph_from_string (const char *s, int len, /* -1 means nul-terminated */ in glyph_from_string()
614 DECLARE_NULL_INSTANCE (hb_font_t); argument