提交 622b014f 编写于 作者: B Behdad Esfahbod

[name] Skip enumerating names with unknown language

上级 2c39f359
......@@ -206,7 +206,8 @@ struct name
unsigned int j = 0;
for (unsigned int i = 0; i < this->names.len; i++)
{
if (this->names[i].entry_score == UNSUPPORTED)
if (this->names[i].entry_score == UNSUPPORTED ||
this->names[i].language == HB_LANGUAGE_INVALID)
continue;
if (i &&
this->names[i - 1].name_id == this->names[i].name_id &&
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册