From 39607dc98e433ef577c1de0f309ce40fc40529be Mon Sep 17 00:00:00 2001 From: Martin Hosken Date: Thu, 9 Aug 2018 15:16:32 +0700 Subject: [PATCH] Support _ in feature ids --- src/hb-common.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-common.cc b/src/hb-common.cc index a02d325a6..6d12c097c 100644 --- a/src/hb-common.cc +++ b/src/hb-common.cc @@ -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)