[kern] Use the sanitized version from face

I'm not sure why kern/kerx/morx were written this way
before.
This commit is contained in:
Behdad Esfahbod committed 2024-05-12 15:11:00 -06:00
1 parent 23e4a3cf26
commit ebbec7713b
1 file changed
+1 -1
+1 -1
View File
@@ -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<AAT::kern> ();
const AAT::kern& kern = *font->face->table.kern;
AAT::hb_aat_apply_context_t c (plan, font, buffer, blob);