Lines Matching refs:glyph
111 inline unsigned int get_advance (hb_codepoint_t glyph) const in get_advance()
113 if (unlikely (glyph >= this->num_metrics)) in get_advance()
124 if (glyph >= this->num_advances) in get_advance()
125 glyph = this->num_advances - 1; in get_advance()
127 return this->table->longMetric[glyph].advance; in get_advance()
169 inline bool get_extents (hb_codepoint_t glyph, in get_extents()
172 if (unlikely (glyph >= this->num_glyphs)) in get_extents()
178 start_offset = 2 * this->loca->u.shortsZ[glyph]; in get_extents()
179 end_offset = 2 * this->loca->u.shortsZ[glyph + 1]; in get_extents()
183 start_offset = this->loca->u.longsZ[glyph]; in get_extents()
184 end_offset = this->loca->u.longsZ[glyph + 1]; in get_extents()
206 hb_codepoint_t *glyph);
211 hb_codepoint_t *glyph) in get_glyph_from() argument
214 return typed_obj->get_glyph (codepoint, glyph); in get_glyph_from()
280 hb_codepoint_t *glyph) const in get_nominal_glyph()
282 return this->get_glyph_func (this->get_glyph_data, unicode, glyph); in get_nominal_glyph()
287 hb_codepoint_t *glyph) const in get_variation_glyph()
291 glyph)) in get_variation_glyph()
298 return get_nominal_glyph (unicode, glyph); in get_variation_glyph()
344 hb_codepoint_t *glyph, in hb_ot_get_nominal_glyph() argument
349 return ot_font->cmap.get_nominal_glyph (unicode, glyph); in hb_ot_get_nominal_glyph()
357 hb_codepoint_t *glyph, in hb_ot_get_variation_glyph() argument
361 return ot_font->cmap.get_variation_glyph (unicode, variation_selector, glyph); in hb_ot_get_variation_glyph()
367 hb_codepoint_t glyph, in hb_ot_get_glyph_h_advance() argument
371 return font->em_scale_x (ot_font->h_metrics.get_advance (glyph)); in hb_ot_get_glyph_h_advance()
377 hb_codepoint_t glyph, in hb_ot_get_glyph_v_advance() argument
381 return font->em_scale_y (-(int) ot_font->v_metrics.get_advance (glyph)); in hb_ot_get_glyph_v_advance()
387 hb_codepoint_t glyph, in hb_ot_get_glyph_extents() argument
392 bool ret = ot_font->glyf.get_extents (glyph, extents); in hb_ot_get_glyph_extents()