Searched refs:h_metrics (Results 1 – 1 of 1) sorted by relevance
435 hb_ot_face_metrics_accelerator_t h_metrics; member451 ot_font->h_metrics.init (face, HB_OT_TAG_hhea, HB_OT_TAG_hmtx, HB_OT_TAG_HVAR, HB_OT_TAG_os2); in _hb_ot_font_create()453 ot_font->h_metrics.ascender - ot_font->h_metrics.descender); /* TODO Can we do this lazily? */ in _hb_ot_font_create()464 ot_font->h_metrics.fini (); in _hb_ot_font_destroy()504 return font->em_scale_x (ot_font->h_metrics.get_advance (glyph, font)); in hb_ot_get_glyph_h_advance()543 metrics->ascender = font->em_scale_y (ot_font->h_metrics.ascender); in hb_ot_get_font_h_extents()544 metrics->descender = font->em_scale_y (ot_font->h_metrics.descender); in hb_ot_get_font_h_extents()545 metrics->line_gap = font->em_scale_y (ot_font->h_metrics.line_gap); in hb_ot_get_font_h_extents()547 return ot_font->h_metrics.has_font_extents; in hb_ot_get_font_h_extents()