|
|
|
@ -34,9 +34,6 @@ |
|
|
|
|
|
|
|
|
|
using namespace CFF; |
|
|
|
|
|
|
|
|
|
char RETURN_OP[1] = { OpCode_return }; |
|
|
|
|
static const ByteStr NULL_SUBR = { RETURN_OP/* str */, 1/* len */ }; |
|
|
|
|
|
|
|
|
|
struct CFFSubTableOffsets { |
|
|
|
|
inline CFFSubTableOffsets (void) |
|
|
|
|
{ |
|
|
|
@ -384,6 +381,9 @@ static inline bool _write_cff (const cff_subset_plan &plan, |
|
|
|
|
{ |
|
|
|
|
hb_serialize_context_t c (dest, dest_sz); |
|
|
|
|
|
|
|
|
|
char RETURN_OP[1] = { OpCode_return }; |
|
|
|
|
const ByteStr NULL_SUBR = { RETURN_OP/* str */, 1/* len */ }; |
|
|
|
|
|
|
|
|
|
OT::cff *cff = c.start_serialize<OT::cff> (); |
|
|
|
|
if (unlikely (!c.extend_min (*cff))) |
|
|
|
|
return false; |
|
|
|
|