Lines Matching refs:glyphs
46 if (c->glyphs->has (glyph_id)) in closure()
47 c->glyphs->add ((glyph_id + deltaGlyphID) & 0xFFFFu); in closure()
70 return_trace (c->len == 1 && (this+coverage).get_coverage (c->glyphs[0]) != NOT_COVERED); in would_apply()
89 Supplier<GlyphID> &glyphs, in serialize()
95 …if (unlikely (!coverage.serialize (c, this).serialize (c, glyphs, num_glyphs))) return_trace (fals… in serialize()
124 if (c->glyphs->has (iter.get_glyph ())) in closure()
125 c->glyphs->add (substitute[iter.get_coverage ()]); in closure()
147 return_trace (c->len == 1 && (this+coverage).get_coverage (c->glyphs[0]) != NOT_COVERED); in would_apply()
166 Supplier<GlyphID> &glyphs, in serialize()
173 …if (unlikely (!coverage.serialize (c, this).serialize (c, glyphs, num_glyphs))) return_trace (fals… in serialize()
198 Supplier<GlyphID> &glyphs, in serialize()
209 delta = substitutes[0] - glyphs[0]; in serialize()
211 if (delta != substitutes[i] - glyphs[i]) { in serialize()
218 case 1: return_trace (u.format1.serialize (c, glyphs, num_glyphs, delta)); in serialize()
219 case 2: return_trace (u.format2.serialize (c, glyphs, substitutes, num_glyphs)); in serialize()
252 c->glyphs->add (substitute[i]); in closure()
299 Supplier<GlyphID> &glyphs, in serialize()
304 if (unlikely (!substitute.serialize (c, glyphs, num_glyphs))) return_trace (false); in serialize()
328 if (c->glyphs->has (iter.get_glyph ())) in closure()
350 return_trace (c->len == 1 && (this+coverage).get_coverage (c->glyphs[0]) != NOT_COVERED); in would_apply()
364 Supplier<GlyphID> &glyphs, in serialize()
377 …if (unlikely (!coverage.serialize (c, this).serialize (c, glyphs, num_glyphs))) return_trace (fals… in serialize()
402 Supplier<GlyphID> &glyphs, in serialize()
412 …case 1: return_trace (u.format1.serialize (c, glyphs, substitute_len_list, num_glyphs, substitute_… in serialize()
446 if (c->glyphs->has (iter.get_glyph ())) { in closure()
450 c->glyphs->add (alt_set[i]); in closure()
476 return_trace (c->len == 1 && (this+coverage).get_coverage (c->glyphs[0]) != NOT_COVERED); in would_apply()
508 Supplier<GlyphID> &glyphs, in serialize()
521 …if (unlikely (!coverage.serialize (c, this).serialize (c, glyphs, num_glyphs))) return_trace (fals… in serialize()
546 Supplier<GlyphID> &glyphs, in serialize()
556 …case 1: return_trace (u.format1.serialize (c, glyphs, alternate_len_list, num_glyphs, alternate_gl… in serialize()
587 if (!c->glyphs->has (component[i])) in closure()
589 c->glyphs->add (ligGlyph); in closure()
608 if (likely (c->glyphs[i] != component[i])) in would_apply()
769 if (c->glyphs->has (iter.get_glyph ())) in closure()
792 unsigned int index = (this+coverage).get_coverage (c->glyphs[0]); in would_apply()
919 if (!(this+backtrack[i]).intersects (c->glyphs)) in closure()
924 if (!(this+lookahead[i]).intersects (c->glyphs)) in closure()
930 if (c->glyphs->has (iter.get_glyph ())) in closure()
931 c->glyphs->add (substitute[iter.get_coverage ()]); in closure()
967 return_trace (c->len == 1 && (this+coverage).get_coverage (c->glyphs[0]) != NOT_COVERED); in would_apply()
1145 inline void add_coverage (set_t *glyphs) const in add_coverage()
1147 hb_add_coverage_context_t<set_t> c (glyphs); in add_coverage()
1156 if (!accel->may_have (c->glyphs[0])) return_trace (false); in would_apply()
1168 Supplier<GlyphID> &glyphs, in serialize_single()
1174 … return_trace (serialize_subtable (c, 0).u.single.serialize (c, glyphs, substitutes, num_glyphs)); in serialize_single()
1179 Supplier<GlyphID> &glyphs, in serialize_multiple()
1187 glyphs, in serialize_multiple()
1195 Supplier<GlyphID> &glyphs, in serialize_alternate()
1203 glyphs, in serialize_alternate()