Part of https://github.com/harfbuzz/harfbuzz/issues/1652
#define HB_NO_OPEN
#define HB_NO_SETLOCALE
#define HB_NO_OT_SHAPE_FRACTIONS
+#define HB_NO_STAT
#define HB_NO_SUBSET_LAYOUT
#endif
#ifndef HB_NO_NAME
HB_OT_ACCELERATOR (OT, name)
#endif
+#ifndef HB_NO_STAT
HB_OT_TABLE (OT, STAT)
+#endif
/* Vertical layout. */
HB_OT_ACCELERATOR (OT, vmtx)
{
hb_tag_t tag = table_tags[i];
switch (tag) {
+#ifndef HB_NO_STAT
case HB_OT_TAG_STAT:
face->table.STAT->collect_name_ids (nameids);
break;
+#endif
case HB_OT_TAG_fvar:
face->table.fvar->collect_name_ids (nameids);
break;