4 return this->default_advance;
7 - return this->table->longMetric[MIN (glyph, (uint32_t) this->num_advances - 1)].advance
8 + return static_cast<OT::LongMetric const *>(this->table->longMetric)[MIN (glyph, (uint32_t) this->num_advances - 1)].advance
9 + this->var->get_advance_var (glyph, font->coords, font->num_coords); // TODO Optimize?!
16 -_hb_ot_font_destroy (hb_ot_font_t *ot_font)
17 +_hb_ot_font_destroy (void *ot_font_)
19 + hb_ot_font_t *ot_font = static_cast<hb_ot_font_t *>(ot_font_);
20 ot_font->cmap.fini ();
21 ot_font->h_metrics.fini ();
22 ot_font->v_metrics.fini ();
27 inline const Type *bsearch (T *key) const
29 + if (len == 0) return NULL;
30 return (const Type *) ::bsearch (key, array, len, sizeof (Type), (hb_compare_func_t) Type::cmp);