提交 329f2401 编写于 作者: B Behdad Esfahbod

[aat] Set embedded sanitizer max ops really high

Since we consume it legitimately during shaping.
上级 ad763074
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册