From ffc2b8d56e5d35b4dc19499c830d8fc4b643213a Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 19 Jun 2019 18:33:29 -0700 Subject: [PATCH] [config] Don't include name table in face if HB_NO_NAME Part of https://github.com/harfbuzz/harfbuzz/issues/1652 --- src/hb-ot-face-table-list.hh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/hb-ot-face-table-list.hh b/src/hb-ot-face-table-list.hh index 1dcfad4..6185b67 100644 --- a/src/hb-ot-face-table-list.hh +++ b/src/hb-ot-face-table-list.hh @@ -50,8 +50,10 @@ HB_OT_TABLE (OT, head) HB_OT_ACCELERATOR (OT, cmap) HB_OT_ACCELERATOR (OT, hmtx) HB_OT_ACCELERATOR (OT, post) -HB_OT_ACCELERATOR (OT, name) HB_OT_TABLE (OT, OS2) +#ifndef HB_NO_NAME +HB_OT_ACCELERATOR (OT, name) +#endif HB_OT_TABLE (OT, STAT) /* Vertical layout. */ -- 2.7.4