未验证 提交 759f3bd4 编写于 作者: E Ebrahim Byagowi 提交者: GitHub

[metrics] Don't use metrics API in _common

As it is exposed with a different condition
上级 eb8bd2f7
......@@ -56,7 +56,7 @@ hb_ot_metrics_get_position_common (hb_font_t *font,
switch ((unsigned int) metrics_tag)
{
#ifndef HB_NO_VAR
#define GET_VAR hb_ot_metrics_get_variation (face, metrics_tag)
#define GET_VAR face->table.MVAR->get_var (metrics_tag, nullptr, 0)
#else
#define GET_VAR .0f
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册