[cmap] Remove unused code
This commit is contained in:
parent
1becabe06c
commit
3336de2479
|
@ -1039,8 +1039,6 @@ struct cmap
|
||||||
typedef bool (*hb_cmap_get_glyph_func_t) (const void *obj,
|
typedef bool (*hb_cmap_get_glyph_func_t) (const void *obj,
|
||||||
hb_codepoint_t codepoint,
|
hb_codepoint_t codepoint,
|
||||||
hb_codepoint_t *glyph);
|
hb_codepoint_t *glyph);
|
||||||
typedef void (*hb_cmap_collect_unicodes_func_t) (const void *obj,
|
|
||||||
hb_set_t *out);
|
|
||||||
|
|
||||||
template <typename Type>
|
template <typename Type>
|
||||||
static inline bool get_glyph_from (const void *obj,
|
static inline bool get_glyph_from (const void *obj,
|
||||||
|
@ -1051,14 +1049,6 @@ struct cmap
|
||||||
return typed_obj->get_glyph (codepoint, glyph);
|
return typed_obj->get_glyph (codepoint, glyph);
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename Type>
|
|
||||||
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 <typename Type>
|
template <typename Type>
|
||||||
static inline bool get_glyph_from_symbol (const void *obj,
|
static inline bool get_glyph_from_symbol (const void *obj,
|
||||||
hb_codepoint_t codepoint,
|
hb_codepoint_t codepoint,
|
||||||
|
|
Loading…
Reference in New Issue