diff --git a/src/hb-ot-cff1-table.hh b/src/hb-ot-cff1-table.hh index 965aa9fce..d4d25d88e 100644 --- a/src/hb-ot-cff1-table.hh +++ b/src/hb-ot-cff1-table.hh @@ -1269,6 +1269,7 @@ struct cff1 { if (!buf) return true; if (unlikely (!is_valid ())) return false; + if (is_CID()) return false; hb_codepoint_t sid = glyph_to_sid (glyph); byte_str_t byte_str; const char *str;