[subset-cff] Return in subr closure if already seen subr
Not sure why this was not done before.
This commit is contained in:
parent
a29ca6efbc
commit
1572ba281a
|
@ -825,6 +825,8 @@ struct subr_subsetter_t
|
|||
hb_set_t *closure,
|
||||
const subr_subset_param_t ¶m)
|
||||
{
|
||||
if (closure->has (subr_num))
|
||||
return;
|
||||
closure->add (subr_num);
|
||||
collect_subr_refs_in_str (subrs[subr_num], param);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue