提交 8e7beba7 编写于 作者: B Behdad Esfahbod

Fix Uniscribe clusters with direction-overriden Arabic

上级 b069c3c3
......@@ -429,11 +429,11 @@ retry:
}
if (!backward) {
for (unsigned int i = 1; i < glyphs_len; i++)
if (!glyph_props[i].sva.fClusterStart)
if (vis_clusters[i] == -1)
vis_clusters[i] = vis_clusters[i - 1];
} else {
for (int i = glyphs_len - 2; i >= 0; i--)
if (!glyph_props[i].sva.fClusterStart)
if (vis_clusters[i] == -1)
vis_clusters[i] = vis_clusters[i + 1];
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册