Home | History | Annotate | Download | only in src

Lines Matching refs:OT

32 #include "hb-ot-shape-private.hh"
33 #include "hb-ot-layout-gsub-table.hh"
55 static OT::SubstLookup *
60 OT::GlyphID glyphs[SHAPING_TABLE_LAST - SHAPING_TABLE_FIRST + 1];
61 OT::GlyphID substitutes[SHAPING_TABLE_LAST - SHAPING_TABLE_FIRST + 1];
85 hb_bubble_sort (&glyphs[0], num_glyphs, OT::GlyphID::cmp, &substitutes[0]);
87 OT::Supplier<OT::GlyphID> glyphs_supplier (glyphs, num_glyphs);
88 OT::Supplier<OT::GlyphID> substitutes_supplier (substitutes, num_glyphs);
92 OT::hb_serialize_context_t c (buf, sizeof (buf));
93 OT::SubstLookup *lookup = c.start_serialize<OT::SubstLookup> ();
95 OT::LookupFlag::IgnoreMarks,
102 return ret ? c.copy<OT::SubstLookup> () : NULL;
105 static OT::SubstLookup *
109 OT::GlyphID first_glyphs[ARRAY_LENGTH_CONST (ligature_table)];
115 OT::GlyphID ligature_list[ARRAY_LENGTH_CONST (first_glyphs) * ARRAY_LENGTH_CONST(ligature_table[0].ligatures)];
117 OT::GlyphID component_list[ARRAY_LENGTH_CONST (ligature_list) * 1/* One extra component per ligature */];
134 hb_bubble_sort (&first_glyphs[0], num_first_glyphs, OT::GlyphID::cmp, &first_glyphs_indirection[0]);
160 OT::Supplier<OT::GlyphID> first_glyphs_supplier (first_glyphs, num_first_glyphs);
161 OT::Supplier<unsigned int > ligature_per_first_glyph_count_supplier (ligature_per_first_glyph_count_list, num_first_glyphs);
162 OT::Supplier<OT::GlyphID> ligatures_supplier (ligature_list, num_ligatures);
163 OT::Supplier<unsigned int > component_count_supplier (component_count_list, num_ligatures);
164 OT::Supplier<OT::GlyphID> component_supplier (component_list, num_ligatures);
168 OT::hb_serialize_context_t c (buf, sizeof (buf));
169 OT::SubstLookup *lookup = c.start_serialize<OT::SubstLookup> ();
171 OT::LookupFlag::IgnoreMarks,
182 return ret ? c.copy<OT::SubstLookup> () : NULL;
185 static OT::SubstLookup *
201 OT::SubstLookup *lookup_array[ARABIC_NUM_FALLBACK_FEATURES];
247 OT::hb_apply_context_t c (0, font, buffer, fallback_plan->mask_array[i], true/*auto_zwj*/);