[aat] Fix build

This commit is contained in:
Behdad Esfahbod 2022-07-17 21:42:04 -06:00
parent a5dad50072
commit a972d05d7e
1 changed files with 2 additions and 0 deletions

View File

@ -980,6 +980,7 @@ struct Chain
setting = HB_AAT_LAYOUT_FEATURE_SELECTOR_LOWER_CASE_SMALL_CAPS;
goto retry;
}
#ifndef HB_NO_AAT
else if (type == HB_AAT_LAYOUT_FEATURE_TYPE_LANGUAGE_TAG_TYPE && setting &&
/* TODO: Rudimentary language matching. */
map->face->table.ltag->get_language (setting - 1) == map->props.language)
@ -987,6 +988,7 @@ struct Chain
flags &= feature.disableFlags;
flags |= feature.enableFlags;
}
#endif
}
}
return flags;