fix test-ot-face crash

This commit is contained in:
blueshade7 2019-11-16 19:12:34 -08:00 committed by Behdad Esfahbod
parent 7b49042ef4
commit e26df436bc
1 changed files with 1 additions and 0 deletions

View File

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