[subset] subset name table step 1, write out table unmodified, use accelerator to access
string
diff --git a/src/hb-subset.cc b/src/hb-subset.cc
index bccb98d..333e7d4 100644
--- a/src/hb-subset.cc
+++ b/src/hb-subset.cc
@@ -43,6 +43,7 @@
#include "hb-ot-cff1-table.hh"
#include "hb-ot-cff2-table.hh"
#include "hb-ot-vorg-table.hh"
+#include "hb-ot-name-table.hh"
#include "hb-ot-layout-gsub-table.hh"
#include "hb-ot-layout-gpos-table.hh"
@@ -158,6 +159,9 @@
case HB_OT_TAG_hdmx:
result = _subset<const OT::hdmx> (plan);
break;
+ case HB_OT_TAG_name:
+ result = _subset<const OT::name> (plan);
+ break;
case HB_OT_TAG_head:
// TODO that won't work well if there is no glyf
DEBUG_MSG(SUBSET, nullptr, "skip head, handled by glyf");