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.
This commit is contained in:
parent
f39934983f
commit
c73d7ba75d
|
@ -68,6 +68,7 @@ _add_cff_seac_components (const OT::cff1::accelerator_t &cff,
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef HB_NO_SUBSET_LAYOUT
|
||||||
static inline void
|
static inline void
|
||||||
_gsub_closure (hb_face_t *face, hb_set_t *gids_to_retain)
|
_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,
|
&lookup_indices,
|
||||||
gids_to_retain);
|
gids_to_retain);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static inline void
|
static inline void
|
||||||
_remove_invalid_gids (hb_set_t *glyphs,
|
_remove_invalid_gids (hb_set_t *glyphs,
|
||||||
|
|
Loading…
Reference in New Issue