Misc minor fixes
diff --git a/src/hb-ot-shape-fallback.cc b/src/hb-ot-shape-fallback.cc index 54ffdb0..71aed89 100644 --- a/src/hb-ot-shape-fallback.cc +++ b/src/hb-ot-shape-fallback.cc
@@ -109,9 +109,8 @@ unsigned int combining_class) { hb_glyph_extents_t mark_extents; - if (!hb_font_get_glyph_extents (font, - buffer->info[i].codepoint, - &mark_extents)) + if (!font->get_glyph_extents (buffer->info[i].codepoint, + &mark_extents)) return; hb_position_t y_gap = font->y_scale / 16; @@ -193,9 +192,8 @@ unsigned int end) { hb_glyph_extents_t base_extents; - if (!hb_font_get_glyph_extents (font, - buffer->info[base].codepoint, - &base_extents)) + if (!font->get_glyph_extents (buffer->info[base].codepoint, + &base_extents)) { /* If extents don't work, zero marks and go home. */ zero_mark_advances (buffer, base + 1, end);