[layout] Add HB_NO_LAYOUT_RARELY_USED

pull/3799/head
Behdad Esfahbod 2 years ago
parent 8e88653f05
commit 3892128a1f
  1. 1
      src/hb-config.hh
  2. 2
      src/hb-ot-layout.cc

@ -71,6 +71,7 @@
#define HB_NO_LANGUAGE_PRIVATE_SUBTAG
#define HB_NO_LAYOUT_FEATURE_PARAMS
#define HB_NO_LAYOUT_COLLECT_GLYPHS
#define HB_NO_LAYOUT_RARELY_UNUSED
#define HB_NO_LAYOUT_UNUSED
#define HB_NO_MATH
#define HB_NO_META

@ -2343,6 +2343,7 @@ struct hb_get_glyph_alternates_dispatch_t :
( _dispatch (obj, hb_prioritize, std::forward<Ts> (ds)...) )
};
#ifndef HB_NO_LAYOUT_RARELY_UNUSED
/**
* hb_ot_layout_lookup_get_glyph_alternates:
* @face: a face.
@ -2426,6 +2427,7 @@ hb_ot_layout_get_optical_bound (hb_font_t *font,
}
return ret;
}
#endif
#endif

Loading…
Cancel
Save