mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-21 15:01:01 +01:00
[subset] FeatureVariations subsetting is wrong
Never drop FeatureVariationRecord for now. Fixes https://github.com/harfbuzz/harfbuzz/issues/2334
This commit is contained in:
1 parent
2a549aadd3
commit
262eced2ad
1 file changed
+2
-3
@@ -2709,10 +2709,9 @@ struct FeatureVariationRecord
|
||||
auto *out = c->subset_context->serializer->embed (this);
|
||||
if (unlikely (!out)) return_trace (false);
|
||||
|
||||
bool ret = out->substitutions.serialize_subset (c->subset_context, substitutions, base, c);
|
||||
if (unlikely (!ret)) return_trace (false);
|
||||
|
||||
out->conditions.serialize_subset (c->subset_context, conditions, base);
|
||||
out->substitutions.serialize_subset (c->subset_context, substitutions, base, c);
|
||||
|
||||
return_trace (true);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user