From 37f8ebff5f1973423c7e4ed9dea88881d0642b61 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 18 Jun 2019 14:33:49 -0700 Subject: [PATCH] [config] Fixup for AAT ltag table access Part of https://github.com/harfbuzz/harfbuzz/issues/1652 --- src/hb-aat-layout.hh | 8 -------- src/hb-ot-name-table.hh | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/src/hb-aat-layout.hh b/src/hb-aat-layout.hh index 9a0e4468..8310bfcc 100644 --- a/src/hb-aat-layout.hh +++ b/src/hb-aat-layout.hh @@ -78,12 +78,4 @@ hb_aat_layout_track (const hb_ot_shape_plan_t *plan, hb_buffer_t *buffer); -inline hb_language_t -_hb_aat_language_get (hb_face_t *face, - unsigned int i) -{ - return face->table.ltag->get_language (i); -} - - #endif /* HB_AAT_LAYOUT_HH */ diff --git a/src/hb-ot-name-table.hh b/src/hb-ot-name-table.hh index 68d7b3a6..59bf4387 100644 --- a/src/hb-ot-name-table.hh +++ b/src/hb-ot-name-table.hh @@ -63,7 +63,7 @@ struct NameRecord #ifndef HB_NO_OT_NAME_LANGUAGE_AAT if (p == 0) - return _hb_aat_language_get (face, l); + return face->table.ltag->get_language (l); #endif #endif -- GitLab