Behdad Esfahbod 2 years ago
parent fc9e6ae8d9
commit a0111e4fab
  1. 3
      src/graph/pairpos-graph.hh

@ -213,8 +213,7 @@ struct PairPosFormat1 : public OT::Layout::GPOS_impl::PairPosFormat1_3<SmallType
unsigned max_size) const unsigned max_size) const
{ {
char* buffer = (char*) hb_calloc (1, max_size); char* buffer = (char*) hb_calloc (1, max_size);
hb_serialize_context_t serializer = hb_serialize_context_t (buffer, hb_serialize_context_t serializer (buffer, max_size);
max_size);
Coverage_serialize (&serializer, glyphs); Coverage_serialize (&serializer, glyphs);
serializer.end_serialize (); serializer.end_serialize ();
if (serializer.in_error ()) if (serializer.in_error ())

Loading…
Cancel
Save