diff --git a/src/hb-ot-layout.cc b/src/hb-ot-layout.cc index a4c13abad..ca6457a47 100644 --- a/src/hb-ot-layout.cc +++ b/src/hb-ot-layout.cc @@ -132,7 +132,7 @@ hb_ot_layout_kern (const hb_ot_shape_plan_t *plan, hb_buffer_t *buffer) { hb_blob_t *blob = font->face->table.kern.get_blob (); - const AAT::kern& kern = *blob->as (); + const AAT::kern& kern = *font->face->table.kern; AAT::hb_aat_apply_context_t c (plan, font, buffer, blob);