[Device] Serialize VariationDevice zerocopy

pull/3916/head
Behdad Esfahbod 2 years ago
parent 071a2bb4f7
commit 58e9df132f
  1. 1
      src/hb-ot-layout-common.hh

@ -3460,6 +3460,7 @@ struct VariationDevice
if (!layout_variation_idx_delta_map->has (varIdx, &v)) if (!layout_variation_idx_delta_map->has (varIdx, &v))
return_trace (nullptr); return_trace (nullptr);
c->start_zerocopy (this->static_size);
auto *out = c->embed (this); auto *out = c->embed (this);
if (unlikely (!out)) return_trace (nullptr); if (unlikely (!out)) return_trace (nullptr);

Loading…
Cancel
Save