Support _ in feature ids
This commit is contained in:
parent
652cd45c65
commit
39607dc98e
|
@ -847,7 +847,7 @@ parse_tag (const char **pp, const char *end, hb_tag_t *tag)
|
||||||
}
|
}
|
||||||
|
|
||||||
const char *p = *pp;
|
const char *p = *pp;
|
||||||
while (*pp < end && ISALNUM(**pp))
|
while (*pp < end && (ISALNUM(**pp) || **pp == '_'))
|
||||||
(*pp)++;
|
(*pp)++;
|
||||||
|
|
||||||
if (p == *pp || *pp - p > 4)
|
if (p == *pp || *pp - p > 4)
|
||||||
|
|
Loading…
Reference in New Issue