[ENOMEM] check for error in visited map during closure features.
This commit is contained in:
parent
9562239f05
commit
1e4fe10b98
|
@ -89,6 +89,9 @@ struct hb_closure_context_t :
|
||||||
|
|
||||||
bool is_lookup_done (unsigned int lookup_index)
|
bool is_lookup_done (unsigned int lookup_index)
|
||||||
{
|
{
|
||||||
|
if (done_lookups->in_error ())
|
||||||
|
return true;
|
||||||
|
|
||||||
/* Have we visited this lookup with the current set of glyphs? */
|
/* Have we visited this lookup with the current set of glyphs? */
|
||||||
return done_lookups->get (lookup_index) == glyphs->get_population ();
|
return done_lookups->get (lookup_index) == glyphs->get_population ();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue