commit | f9417af29bd5a1d2f5b55389a1cc6f4280b347d8 | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <behdad@behdad.org> | Tue Dec 18 13:23:32 2018 -0500 |
committer | Behdad Esfahbod <behdad@behdad.org> | Tue Dec 18 13:23:32 2018 -0500 |
tree | 35811855f6cb92f96d26016c08e95e66d1fdbada | |
parent | 9aebfb418222427a324d911b32abfc11256ca9e3 [diff] [blame] |
[serialize] Propagate error from hb-face
diff --git a/src/hb-face.cc b/src/hb-face.cc index eecdef4..825021f 100644 --- a/src/hb-face.cc +++ b/src/hb-face.cc
@@ -642,6 +642,7 @@ return nullptr; hb_serialize_context_t c (buf, face_length); + c.propagate_error (data->tables); OT::OpenTypeFontFile *f = c.start_serialize<OT::OpenTypeFontFile> (); bool is_cff = data->tables.lsearch (HB_TAG ('C','F','F',' ')) || data->tables.lsearch (HB_TAG ('C','F','F','2'));