From f8d924e5b8a3c2a4d655266b40e48bc5225768f0 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 4 Jan 2024 09:35:15 -0700 Subject: [PATCH] [cmap] Remove unused code --- src/hb-ot-cmap-table.hh | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/hb-ot-cmap-table.hh b/src/hb-ot-cmap-table.hh index e2e258185..5a1b6b278 100644 --- a/src/hb-ot-cmap-table.hh +++ b/src/hb-ot-cmap-table.hh @@ -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