diff --git a/src/hb-ot-cff-common.hh b/src/hb-ot-cff-common.hh index 4607efb24..5f98469bf 100644 --- a/src/hb-ot-cff-common.hh +++ b/src/hb-ot-cff-common.hh @@ -433,34 +433,12 @@ struct Remap : hb_vector_t return true; } - inline bool fullset (void) const - { - for (unsigned int i = 0; i < len; i++) - if (SUPER::operator[] (i) == CFF_UNDEF_CODE) - return false; - return true; - } - inline bool excludes (hb_codepoint_t id) const { return (id < len) && ((*this)[id] == CFF_UNDEF_CODE); } inline bool includes (hb_codepoint_t id) const { return !excludes (id); } - inline hb_codepoint_t operator[] (hb_codepoint_t i) const - { - if (fullset ()) - return i; - else - return SUPER::operator[] (i); - } - - inline hb_codepoint_t &operator[] (hb_codepoint_t i) - { - assert (i < len); - return SUPER::operator[] (i); - } - inline unsigned int add (unsigned int i) { if ((*this)[i] == CFF_UNDEF_CODE)