src/hb-ot-tag.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 80c1b01f054c5d65ca96a568aaf1c28ffe97215b
Author: David Corbett <[email protected]>
Date: Tue Dec 5 08:28:42 2017 -0500
Allow digits in language system tags
diff --git a/src/hb-ot-tag.cc b/src/hb-ot-tag.cc
index 0514c41a..1338c317 100644
--- a/src/hb-ot-tag.cc
+++ b/src/hb-ot-tag.cc
@@ -920,7 +920,7 @@ hb_ot_tag_from_language (hb_language_t language)
char tag[4];
int i;
s += 6;
- for (i = 0; i < 4 && ISALPHA (s[i]); i++)
+ for (i = 0; i < 4 && ISALNUM (s[i]); i++)
tag[i] = TOUPPER (s[i]);
if (i) {
for (; i < 4; i++)
_______________________________________________
HarfBuzz mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/harfbuzz