fix test-ot-face crash
This commit is contained in:
parent
7b49042ef4
commit
e26df436bc
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue