{
Tag t;
t.set (tag);
- // TODO bsearch
+ // TODO: bsearch (need to sort in sanitize)
const Record<Type> *a = this->array();
unsigned int count = this->len;
for (unsigned int i = 0; i < count; i++)
return NOT_COVERED;
GlyphID gid;
gid.set (glyph_id);
- // TODO: bsearch
+ // TODO: bsearch (need to sort in sanitize)
unsigned int num_glyphs = glyphArray.len;
for (unsigned int i = 0; i < num_glyphs; i++)
if (gid == glyphArray[i])
private:
inline unsigned int get_coverage (hb_codepoint_t glyph_id) const
{
- // TODO: bsearch
+ // TODO: bsearch (need to sort in sanitize)
unsigned int count = rangeRecord.len;
for (unsigned int i = 0; i < count; i++)
{
private:
inline hb_ot_layout_class_t get_class (hb_codepoint_t glyph_id) const
{
- // TODO: bsearch
+ // TODO: bsearch (need to sort in sanitize)
unsigned int count = rangeRecord.len;
for (unsigned int i = 0; i < count; i++)
{