From f9417af29bd5a1d2f5b55389a1cc6f4280b347d8 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 18 Dec 2018 13:23:32 -0500 Subject: [PATCH] [serialize] Propagate error from hb-face --- src/hb-face.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hb-face.cc b/src/hb-face.cc index eecdef479..825021f73 100644 --- a/src/hb-face.cc +++ b/src/hb-face.cc @@ -642,6 +642,7 @@ _hb_face_builder_data_reference_blob (hb_face_builder_data_t *data) return nullptr; hb_serialize_context_t c (buf, face_length); + c.propagate_error (data->tables); OT::OpenTypeFontFile *f = c.start_serialize (); bool is_cff = data->tables.lsearch (HB_TAG ('C','F','F',' ')) || data->tables.lsearch (HB_TAG ('C','F','F','2'));