|
|
|
@ -226,21 +226,21 @@ hb_ot_map_builder_t::compile (hb_ot_map_t &m, |
|
|
|
|
if (required_feature_tag[table_index] == info->tag) |
|
|
|
|
required_feature_stage[table_index] = info->stage[table_index]; |
|
|
|
|
|
|
|
|
|
found |= hb_ot_layout_language_find_feature (face, |
|
|
|
|
table_tags[table_index], |
|
|
|
|
script_index[table_index], |
|
|
|
|
language_index[table_index], |
|
|
|
|
info->tag, |
|
|
|
|
&feature_index[table_index]); |
|
|
|
|
found |= (bool) hb_ot_layout_language_find_feature (face, |
|
|
|
|
table_tags[table_index], |
|
|
|
|
script_index[table_index], |
|
|
|
|
language_index[table_index], |
|
|
|
|
info->tag, |
|
|
|
|
&feature_index[table_index]); |
|
|
|
|
} |
|
|
|
|
if (!found && (info->flags & F_GLOBAL_SEARCH)) |
|
|
|
|
{ |
|
|
|
|
for (unsigned int table_index = 0; table_index < 2; table_index++) |
|
|
|
|
{ |
|
|
|
|
found |= hb_ot_layout_table_find_feature (face, |
|
|
|
|
table_tags[table_index], |
|
|
|
|
info->tag, |
|
|
|
|
&feature_index[table_index]); |
|
|
|
|
found |= (bool) hb_ot_layout_table_find_feature (face, |
|
|
|
|
table_tags[table_index], |
|
|
|
|
info->tag, |
|
|
|
|
&feature_index[table_index]); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
if (!found && !(info->flags & F_HAS_FALLBACK)) |
|
|
|
|