Lines Matching refs:glyphs

141   inline bool intersects (const hb_set_t *glyphs) const {
142 return glyphs->intersects (start, end);
146 inline void add_coverage (set_t *glyphs) const {
147 glyphs->add_range (start, end);
640 Supplier<GlyphID> &glyphs,
648 glyphArray[i] = glyphs[i];
649 glyphs.advance (num_glyphs);
658 inline bool intersects_coverage (const hb_set_t *glyphs, unsigned int index) const {
659 return glyphs->has (glyphArray[index]);
663 inline void add_coverage (set_t *glyphs) const {
666 glyphs->add (glyphArray[i]);
708 Supplier<GlyphID> &glyphs,
718 if (glyphs[i - 1] + 1 != glyphs[i])
724 rangeRecord[range].start = glyphs[0];
727 if (glyphs[i - 1] + 1 != glyphs[i]) {
729 rangeRecord[range].start = glyphs[i];
731 rangeRecord[range].end = glyphs[i];
733 rangeRecord[range].end = glyphs[i];
735 glyphs.advance (num_glyphs);
744 inline bool intersects_coverage (const hb_set_t *glyphs, unsigned int index) const {
751 range.intersects (glyphs))
760 inline void add_coverage (set_t *glyphs) const {
763 rangeRecord[i].add_coverage (glyphs);
817 Supplier<GlyphID> &glyphs,
824 if (glyphs[i - 1] + 1 != glyphs[i])
828 case 1: return TRACE_RETURN (u.format1.serialize (c, glyphs, num_glyphs));
829 case 2: return TRACE_RETURN (u.format2.serialize (c, glyphs, num_glyphs));
844 inline bool intersects (const hb_set_t *glyphs) const {
848 if (glyphs->has (iter.get_glyph ()))
854 inline bool intersects_coverage (const hb_set_t *glyphs, unsigned int index) const {
856 case 1: return u.format1.intersects_coverage (glyphs, index);
857 case 2: return u.format2.intersects_coverage (glyphs, index);
863 inline void add_coverage (set_t *glyphs) const {
865 case 1: u.format1.add_coverage (glyphs); break;
866 case 2: u.format2.add_coverage (glyphs); break;
951 inline void add_class (set_t *glyphs, unsigned int klass) const {
955 glyphs->add (startGlyph + i);
958 inline bool intersects_class (const hb_set_t *glyphs, unsigned int klass) const {
964 if (!hb_set_next (glyphs, &g))
969 if (hb_set_next (glyphs, &g))
974 if (classValue[i] == klass && glyphs->has (startGlyph + i))
1007 inline void add_class (set_t *glyphs, unsigned int klass) const {
1011 rangeRecord[i].add_coverage (glyphs);
1014 inline bool intersects_class (const hb_set_t *glyphs, unsigned int klass) const {
1022 if (!hb_set_next (glyphs, &g))
1028 if (g != (hb_codepoint_t) -1 && hb_set_next (glyphs, &g))
1033 if (rangeRecord[i].value == klass && rangeRecord[i].intersects (glyphs))
1068 inline void add_class (hb_set_t *glyphs, unsigned int klass) const {
1070 case 1: u.format1.add_class (glyphs, klass); return;
1071 case 2: u.format2.add_class (glyphs, klass); return;
1076 inline bool intersects_class (const hb_set_t *glyphs, unsigned int klass) const {
1078 case 1: return u.format1.intersects_class (glyphs, klass);
1079 case 2: return u.format2.intersects_class (glyphs, klass);