提交 80c1b01f 编写于 作者: D David Corbett 提交者: Behdad Esfahbod

Allow digits in language system tags

上级 85bb89a8
......@@ -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++)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册