From ebbec7713bbdb405844e46015db2bef178e9e069 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 12 May 2024 15:10:21 -0600 Subject: [PATCH] [kern] Use the sanitized version from face I'm not sure why kern/kerx/morx were written this way before. --- src/hb-ot-layout.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);