[aat] Fix build
This commit is contained in:
parent
a5dad50072
commit
a972d05d7e
|
@ -980,6 +980,7 @@ struct Chain
|
||||||
setting = HB_AAT_LAYOUT_FEATURE_SELECTOR_LOWER_CASE_SMALL_CAPS;
|
setting = HB_AAT_LAYOUT_FEATURE_SELECTOR_LOWER_CASE_SMALL_CAPS;
|
||||||
goto retry;
|
goto retry;
|
||||||
}
|
}
|
||||||
|
#ifndef HB_NO_AAT
|
||||||
else if (type == HB_AAT_LAYOUT_FEATURE_TYPE_LANGUAGE_TAG_TYPE && setting &&
|
else if (type == HB_AAT_LAYOUT_FEATURE_TYPE_LANGUAGE_TAG_TYPE && setting &&
|
||||||
/* TODO: Rudimentary language matching. */
|
/* TODO: Rudimentary language matching. */
|
||||||
map->face->table.ltag->get_language (setting - 1) == map->props.language)
|
map->face->table.ltag->get_language (setting - 1) == map->props.language)
|
||||||
|
@ -987,6 +988,7 @@ struct Chain
|
||||||
flags &= feature.disableFlags;
|
flags &= feature.disableFlags;
|
||||||
flags |= feature.enableFlags;
|
flags |= feature.enableFlags;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return flags;
|
return flags;
|
||||||
|
|
Loading…
Reference in New Issue