mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-22 07:21:06 +01:00
Fix feature overriding
This commit is contained in:
1 parent
8f08c32750
commit
ecc4550ed7
1 file changed
+1
-1
@@ -152,7 +152,7 @@ struct hb_mask_allocator_t {
|
||||
if (feature_infos[i].global)
|
||||
feature_infos[j] = feature_infos[i];
|
||||
else {
|
||||
feature_infos[j].global = feature_infos[j].global && (feature_infos[j].value == feature_infos[i].value);
|
||||
feature_infos[j].global = false;
|
||||
feature_infos[j].value = MAX (feature_infos[j].value, feature_infos[i].value);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user