[HarfBuzz] harfbuzz: Branch 'master'
Behdad Esfahbod
behdad at kemper.freedesktop.org
Tue Dec 5 16:57:55 UTC 2017
src/hb-ot-tag.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 80c1b01f054c5d65ca96a568aaf1c28ffe97215b
Author: David Corbett <corbett.dav at husky.neu.edu>
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++)
More information about the HarfBuzz
mailing list