fix build attempt ^3

pull/1113/head
Michiharu Ariza 6 years ago
parent c234839f25
commit 270452a446
  1. 2
      src/hb-cff-interp-common-private.hh
  2. 1
      src/hb-cff-interp-cs-common-private.hh
  3. 1
      src/hb-cff-interp-cs.hh
  4. 2
      src/hb-subset-cff.cc

@ -26,8 +26,6 @@
#ifndef HB_CFF_INTERP_COMMON_PRIVATE_HH
#define HB_CFF_INTERP_COMMON_PRIVATE_HH
#include "hb-common.h"
namespace CFF {
using namespace OT;

@ -26,6 +26,7 @@
#ifndef HB_CFF_INTERP_CS_COMMON_PRIVATE_HH
#define HB_CFF_INTERP_CS_COMMON_PRIVATE_HH
#include "hb-private.hh"
#include "hb-cff-interp-common-private.hh"
namespace CFF {

@ -26,6 +26,7 @@
#ifndef HB_CFF_INTERP_CS_HH
#define HB_CFF_INTERP_CS_HH
#include "hb-private.hh"
#include "hb-cff-interp-cs.hh"
namespace CFF {

@ -382,7 +382,7 @@ 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 */ };
const ByteStr NULL_SUBR (RETURN_OP, 1);
OT::cff *cff = c.start_serialize<OT::cff> ();
if (unlikely (!c.extend_min (*cff)))

Loading…
Cancel
Save