[aat/morx] Implement NoncontextualSubtables Also makes hb-ot-shape call morx for now instead of GSUB... Just for testing.
diff --git a/src/hb-ot-shape.cc b/src/hb-ot-shape.cc index a19763d..6930248 100644 --- a/src/hb-ot-shape.cc +++ b/src/hb-ot-shape.cc
@@ -40,6 +40,8 @@ #include "hb-unicode-private.hh" #include "hb-set-private.hh" +#include "hb-ot-layout-gsubgpos-private.hh" +#include "hb-aat-layout-private.hh" static hb_tag_t common_features[] = { HB_TAG('c','c','m','p'), @@ -613,6 +615,10 @@ hb_synthesize_glyph_classes (c); c->plan->substitute (c->font, buffer); + + /* XXX Call morx instead. */ + OT::hb_apply_context_t ac (0, c->font, c->buffer); + hb_aat_layout_substitute (&ac); } static inline void