mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-21 15:01:01 +01:00
[aat] Adjust last range
Otherwise a user cluster value of -1 would have tripped us.
This commit is contained in:
1 parent
e28c158c35
commit
e122fe2acf
1 file changed
+4
@@ -162,6 +162,10 @@ hb_aat_map_builder_t::compile (hb_aat_map_t &m)
|
||||
active_features.remove_ordered (feature - active_features.arrayZ);
|
||||
}
|
||||
}
|
||||
|
||||
for (auto &chain_flags : m.chain_flags)
|
||||
// With our above setup this value is one less than desired; adjust it.
|
||||
chain_flags.tail().cluster_last = HB_FEATURE_GLOBAL_END;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user