[subset] FeatureVariations subsetting is wrong
Never drop FeatureVariationRecord for now. Fixes https://github.com/harfbuzz/harfbuzz/issues/2334
This commit is contained in:
parent
2a549aadd3
commit
262eced2ad
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue