[cmap] Remove unused code

This commit is contained in:
Behdad Esfahbod committed 2024-01-04 09:36:24 -07:00
1 parent 81c2212117
commit f8d924e5b8
1 file changed
-12
-12
View File
@@ -2045,18 +2045,6 @@ struct cmap
return encodingRecord.as_array ().bsearch (key);
}
bool find_subtable (unsigned format) const
{
auto it =
+ hb_iter (encodingRecord)
| hb_map (&EncodingRecord::subtable)
| hb_map (hb_add (this))
| hb_filter ([&] (const CmapSubtable& _) { return _.u.format == format; })
;
return it.len ();
}
public:
bool sanitize (hb_sanitize_context_t *c) const