[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.
This commit is contained in:
Behdad Esfahbod 2013-01-03 00:07:16 -06:00
parent 15e9e4e1dd
commit f0c82410db
1 changed files with 7 additions and 0 deletions

View File

@ -496,6 +496,13 @@ _hb_ot_layout_collect_lookups_languages (hb_face_t *face,
const hb_tag_t *features, const hb_tag_t *features,
hb_set_t *lookup_indexes /* OUT */) 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) if (!languages)
{ {
/* All languages */ /* All languages */