mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-13 08:42:59 +00:00
[subset/cff1] More error handling
This commit is contained in:
parent
cc44b3bce0
commit
73376b24cf
1 changed files with 3 additions and 2 deletions
|
@ -740,8 +740,9 @@ struct cff1_subset_plan
|
|||
;
|
||||
}
|
||||
|
||||
return ((subset_charstrings.length == plan->num_output_glyphs ())
|
||||
&& (fontdicts_mod.length == subset_fdcount));
|
||||
return !plan->in_error () &&
|
||||
(subset_charstrings.length == plan->num_output_glyphs ()) &&
|
||||
(fontdicts_mod.length == subset_fdcount);
|
||||
}
|
||||
|
||||
cff1_top_dict_values_mod_t topdict_mod;
|
||||
|
|
Loading…
Add table
Reference in a new issue