From f0c82410dbe800cb6429ba4aa7cfd9f5a11cc70c Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 3 Jan 2013 00:07:16 -0600 Subject: [PATCH] [OTLayout] Always collect default language system in collect_lookups Not sure if this is the most desired behavior. It's the most easily defined though. --- src/hb-ot-layout.cc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/hb-ot-layout.cc b/src/hb-ot-layout.cc index 4a86b6b..5c266e6 100644 --- a/src/hb-ot-layout.cc +++ b/src/hb-ot-layout.cc @@ -496,6 +496,13 @@ _hb_ot_layout_collect_lookups_languages (hb_face_t *face, const hb_tag_t *features, hb_set_t *lookup_indexes /* OUT */) { + _hb_ot_layout_collect_lookups_features (face, + table_tag, + script_index, + HB_OT_LAYOUT_DEFAULT_LANGUAGE_INDEX, + features, + lookup_indexes); + if (!languages) { /* All languages */ -- 2.7.4