Part of https://github.com/harfbuzz/harfbuzz/issues/1652
bool OT::cff1::accelerator_t::get_extents (hb_codepoint_t glyph, hb_glyph_extents_t *extents) const
{
+#ifdef HB_NO_OT_FONT_CFF
+ /* XXX Remove check when this code moves to .hh file. */
+ return true;
+#endif
+
bounds_t bounds;
if (!_get_bounds (this, glyph, bounds))
hb_codepoint_t glyph,
hb_glyph_extents_t *extents) const
{
+#ifdef HB_NO_OT_FONT_CFF
+ /* XXX Remove check when this code moves to .hh file. */
+ return true;
+#endif
+
if (unlikely (!is_valid () || (glyph >= num_glyphs))) return false;
unsigned int num_coords;