[aat] Fix HB_NO_OT_LAYOUT build

simd-neon
Behdad Esfahbod 2 years ago
parent 8a8fc37c42
commit 0c1637b606
  1. 8
      src/hb-aat-layout.cc

@ -55,7 +55,13 @@ AAT::hb_aat_apply_context_t::hb_aat_apply_context_t (const hb_ot_shape_plan_t *p
buffer (buffer_),
sanitizer (),
ankr_table (&Null (AAT::ankr)),
gdef_table (face->table.GDEF->table),
gdef_table (
#ifndef HB_NO_OT_LAYOUT
face->table.GDEF->table
#else
&Null (GDEF)
#endif
),
lookup_index (0)
{
sanitizer.init (blob);

Loading…
Cancel
Save