diff --git a/src/hb-ot-cmap-table.hh b/src/hb-ot-cmap-table.hh index a767354fe..bf9874a3e 100644 --- a/src/hb-ot-cmap-table.hh +++ b/src/hb-ot-cmap-table.hh @@ -1039,8 +1039,6 @@ struct cmap typedef bool (*hb_cmap_get_glyph_func_t) (const void *obj, hb_codepoint_t codepoint, hb_codepoint_t *glyph); - typedef void (*hb_cmap_collect_unicodes_func_t) (const void *obj, - hb_set_t *out); template static inline bool get_glyph_from (const void *obj, @@ -1051,14 +1049,6 @@ struct cmap return typed_obj->get_glyph (codepoint, glyph); } - template - static inline void collect_unicodes_from (const void *obj, - hb_set_t *out) - { - const Type *typed_obj = (const Type *) obj; - typed_obj->collect_unicodes (out); - } - template static inline bool get_glyph_from_symbol (const void *obj, hb_codepoint_t codepoint,