提交 6c459c8f 编写于 作者: B Behdad Esfahbod

Minor

上级 e2b8d75f
......@@ -1543,7 +1543,7 @@ struct PosLookup : Lookup
while (c->buffer->idx < c->buffer->len)
{
if ((c->buffer->cur().mask & c->lookup_mask) &&
c->digest->may_have (c->buffer->cur().codepoint) &&
c->digest.may_have (c->buffer->cur().codepoint) &&
apply_once (c))
ret = true;
else
......
......@@ -1211,7 +1211,7 @@ struct SubstLookup : Lookup
while (c->buffer->idx < c->buffer->len)
{
if ((c->buffer->cur().mask & c->lookup_mask) &&
c->digest->may_have (c->buffer->cur().codepoint) &&
c->digest.may_have (c->buffer->cur().codepoint) &&
apply_once (c))
ret = true;
else
......@@ -1227,7 +1227,7 @@ struct SubstLookup : Lookup
do
{
if ((c->buffer->cur().mask & c->lookup_mask) &&
c->digest->may_have (c->buffer->cur().codepoint) &&
c->digest.may_have (c->buffer->cur().codepoint) &&
apply_once (c))
ret = true;
else
......
......@@ -110,7 +110,7 @@ struct hb_apply_context_t
unsigned int debug_depth;
const GDEF &gdef;
bool has_glyph_classes;
const hb_set_digest_t *digest;
const hb_set_digest_t digest;
hb_apply_context_t (hb_font_t *font_,
......@@ -127,7 +127,7 @@ struct hb_apply_context_t
!HB_SHAPER_DATA_IS_INVALID (hb_ot_layout_from_face (face_)) ?
*hb_ot_layout_from_face (face_)->gdef : Null(GDEF)),
has_glyph_classes (gdef.has_glyph_classes ()),
digest (digest_) {}
digest (*digest_) {}
void set_lookup (const Lookup &l) {
lookup_props = l.get_props ();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册