提交 5337db29 编写于 作者: B Behdad Esfahbod

Revert "Don't process lookups if buffer is in error"

This reverts commit f92bd86c.

We don't want to be like cairo, where as soon as there's an error,
nothing works anymore.  So, lets process lookups as long as there's
no new memory needed.  That's also a model that hides fewer bugs.
上级 a6d7668a
...@@ -954,7 +954,7 @@ apply_string (OT::hb_apply_context_t *c, ...@@ -954,7 +954,7 @@ apply_string (OT::hb_apply_context_t *c,
{ {
hb_buffer_t *buffer = c->buffer; hb_buffer_t *buffer = c->buffer;
if (unlikely (buffer->in_error || !buffer->len || !c->lookup_mask)) if (unlikely (!buffer->len || !c->lookup_mask))
return; return;
c->set_lookup_props (lookup.get_props ()); c->set_lookup_props (lookup.get_props ());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册