Minor
This commit is contained in:
parent
e2b8d75fa6
commit
6c459c8fef
|
@ -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 ();
|
||||
|
|
Loading…
Reference in New Issue