From 58e9df132fd5db88667bb71a7538358d4109ce33 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sat, 3 Dec 2022 13:04:00 -0700 Subject: [PATCH] [Device] Serialize VariationDevice zerocopy --- src/hb-ot-layout-common.hh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hb-ot-layout-common.hh b/src/hb-ot-layout-common.hh index 87c0ae2f5..31e981341 100644 --- a/src/hb-ot-layout-common.hh +++ b/src/hb-ot-layout-common.hh @@ -3460,6 +3460,7 @@ struct VariationDevice if (!layout_variation_idx_delta_map->has (varIdx, &v)) return_trace (nullptr); + c->start_zerocopy (this->static_size); auto *out = c->embed (this); if (unlikely (!out)) return_trace (nullptr);