mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-21 06:51:01 +01:00
[metrics] Don't use metrics API in _common
As it is exposed with a different condition
This commit is contained in:
1 parent
eb8bd2f7ec
commit
759f3bd486
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user