提交 66c6a48b 编写于 作者: B Behdad Esfahbod

Add HB_NO_MERGE_CLUSTERS

Disables any cluster-merging.  Added for testing purposes while
we investigate what kind of API to add for this.
上级 897c7b80
......@@ -500,6 +500,10 @@ void
hb_buffer_t::merge_clusters (unsigned int start,
unsigned int end)
{
#ifdef HB_NO_MERGE_CLUSTERS
return;
#endif
if (unlikely (end - start < 2))
return;
......@@ -528,6 +532,10 @@ void
hb_buffer_t::merge_out_clusters (unsigned int start,
unsigned int end)
{
#ifdef HB_NO_MERGE_CLUSTERS
return;
#endif
if (unlikely (end - start < 2))
return;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册