Support _ in feature ids

This commit is contained in:
Martin Hosken authored and Behdad Esfahbod committed 2018-08-11 16:55:16 -07:00
1 parent 652cd45c65
commit 39607dc98e
1 file changed
+1 -1
+1 -1
View File
@@ -847,7 +847,7 @@ parse_tag (const char **pp, const char *end, hb_tag_t *tag)
}
const char *p = *pp;
while (*pp < end && ISALNUM(**pp))
while (*pp < end && (ISALNUM(**pp) || **pp == '_'))
(*pp)++;
if (p == *pp || *pp - p > 4)