Commit 52a00cd8 authored by Behdad Esfahbod's avatar Behdad Esfahbod
Browse files

[aat] Implement 'aalt' mapping

Fixes https://github.com/harfbuzz/harfbuzz/issues/1160
Showing with 8 additions and 0 deletions
+8 -0
......@@ -34,6 +34,14 @@
void hb_aat_map_builder_t::add_feature (hb_tag_t tag,
unsigned int value)
{
if (tag == HB_TAG ('a','a','l','t'))
{
feature_info_t *info = features.push();
info->type = 17/*kCharacterAlternativesType*/;
info->setting = value;
return;
}
const hb_aat_feature_mapping_t *mapping = hb_aat_layout_find_feature_mapping (tag);
if (!mapping) return;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment