Support _ in feature ids

This commit is contained in:
Martin Hosken 2018-08-09 15:16:32 +07:00 committed by Behdad Esfahbod
parent 652cd45c65
commit 39607dc98e
1 changed files with 1 additions and 1 deletions

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)