fixed failure with language-tags.tests

This commit is contained in:
blueshade7 2019-11-17 02:20:22 -08:00 committed by Behdad Esfahbod
parent 59fe379797
commit 6d9eb9c040
1 changed files with 1 additions and 0 deletions

View File

@ -1269,6 +1269,7 @@ struct cff1
{ {
if (!buf) return true; if (!buf) return true;
if (unlikely (!is_valid ())) return false; if (unlikely (!is_valid ())) return false;
if (is_CID()) return false;
hb_codepoint_t sid = glyph_to_sid (glyph); hb_codepoint_t sid = glyph_to_sid (glyph);
byte_str_t byte_str; byte_str_t byte_str;
const char *str; const char *str;