[aat] Set embedded sanitizer max ops really high
Since we consume it legitimately during shaping.
This commit is contained in:
parent
ad76307486
commit
329f240108
|
@ -538,6 +538,7 @@ struct hb_aat_apply_context_t :
|
|||
sanitizer.init (table);
|
||||
sanitizer.set_num_glyphs (face->get_num_glyphs ());
|
||||
sanitizer.start_processing ();
|
||||
sanitizer.set_max_ops ((unsigned int) -1);
|
||||
}
|
||||
|
||||
inline void set_lookup_index (unsigned int i) { lookup_index = i; }
|
||||
|
|
|
@ -252,6 +252,8 @@ struct hb_sanitize_context_t :
|
|||
}
|
||||
inline unsigned int get_num_glyphs (void) { return num_glyphs; }
|
||||
|
||||
inline void set_max_ops (unsigned int max_ops_) { max_ops = max_ops_; }
|
||||
|
||||
inline void start_processing (void)
|
||||
{
|
||||
this->start = this->blob->data;
|
||||
|
|
Loading…
Reference in New Issue