提交 440a76b6 编写于 作者: B Behdad Esfahbod

[OT] Fix script to ot-script-tag conversion

上级 a3036a3e
......@@ -52,7 +52,7 @@ hb_ot_old_tag_from_script (hb_script_t script)
}
/* Else, just change first char to lowercase and return */
return ((hb_tag_t) script) | 0x02000000;
return ((hb_tag_t) script) | 0x20000000;
}
static hb_script_t
......@@ -73,7 +73,7 @@ hb_ot_old_tag_to_script (hb_tag_t tag)
}
/* Else, just change first char to uppercase and return */
return (hb_script_t) (tag & ~0x02000000);
return (hb_script_t) (tag & ~0x20000000);
}
static hb_tag_t
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册