}
c->push<NameRecord> ();
- if (!c->embed (source_name->nameRecordZ[idx]))
+
+ NameRecord *p = c->embed<NameRecord> (source_name->nameRecordZ[idx]);
+ if (!p)
return false;
+ p->offset = 0;
}
return true;
hb_serialize_context_t *c,
unsigned length)
{
- hb_hashmap_t<unsigned, unsigned, -1, 0> id_str_idx_map;
+ hb_hashmap_t<unsigned, unsigned> id_str_idx_map;
for (int i = length-1; i >= 0; i--)
{
unsigned objidx = c->pop_pack ();
#include "hb-ot-head-table.hh"
#include "hb-ot-maxp-table.hh"
-#include "hb-ot-name-language-static.hh"
-
#ifndef HB_NO_VISIBILITY
+#include "hb-ot-name-language-static.hh"
hb_vector_size_impl_t const _hb_NullPool[(HB_NULL_POOL_SIZE + sizeof (hb_vector_size_impl_t) - 1) / sizeof (hb_vector_size_impl_t)] = {};
/*thread_local*/ hb_vector_size_impl_t _hb_CrapPool[(HB_NULL_POOL_SIZE + sizeof (hb_vector_size_impl_t) - 1) / sizeof (hb_vector_size_impl_t)] = {};