[OTLayout] Always collect default language system in collect_lookups
authorBehdad Esfahbod <behdad@behdad.org>
Thu, 3 Jan 2013 06:07:16 +0000 (00:07 -0600)
committerBehdad Esfahbod <behdad@behdad.org>
Thu, 3 Jan 2013 06:07:16 +0000 (00:07 -0600)
Not sure if this is the most desired behavior.  It's the most easily
defined though.

src/hb-ot-layout.cc

index 4a86b6b..5c266e6 100644 (file)
@@ -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 */