diff --git a/src/hb-aat-map.cc b/src/hb-aat-map.cc index 1a0dee022..0b85c901e 100644 --- a/src/hb-aat-map.cc +++ b/src/hb-aat-map.cc @@ -85,6 +85,11 @@ void hb_aat_map_builder_t::compile (hb_aat_map_t &m) { /* Compute active features per range, and compile each. */ + if (!features.length) + { + hb_aat_layout_compile_map (this, &m); + return; + } /* Sort features by start/end events. */ hb_vector_t feature_events;