提交 c73d7ba7 编写于 作者: D Dominik Röttsches

Fix building with HB_NO_SUBSET_LAYOUT

Fixes an unused function warning when building with HB_NO_SUBSET_LAYOUT
as part of the Chrome build.
上级 f3993498
......@@ -68,6 +68,7 @@ _add_cff_seac_components (const OT::cff1::accelerator_t &cff,
}
#endif
#ifndef HB_NO_SUBSET_LAYOUT
static inline void
_gsub_closure (hb_face_t *face, hb_set_t *gids_to_retain)
{
......@@ -82,6 +83,7 @@ _gsub_closure (hb_face_t *face, hb_set_t *gids_to_retain)
&lookup_indices,
gids_to_retain);
}
#endif
static inline void
_remove_invalid_gids (hb_set_t *glyphs,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册