#include "hb.hh"
#ifndef HB_NO_SUBSET_CFF
#include "hb-open-type.hh"
#include "hb-ot-cff2-table.hh"
#include "hb-set.h"
#include "hb-subset-plan.hh"
#include "hb-subset-cff-common.hh"
#include "hb-cff2-interp-cs.hh"
usingnamespaceCFF;
struct cff2_sub_table_info_t : cff_sub_table_info_t
{ … };
struct cff2_top_dict_op_serializer_t : cff_top_dict_op_serializer_t<>
{ … };
struct cff2_cs_opset_flatten_t : cff2_cs_opset_t<cff2_cs_opset_flatten_t, flatten_param_t, blend_arg_t>
{ … };
struct cff2_cs_opset_subr_subset_t : cff2_cs_opset_t<cff2_cs_opset_subr_subset_t, subr_subset_param_t, blend_arg_t>
{ … };
struct cff2_subr_subsetter_t : subr_subsetter_t<cff2_subr_subsetter_t, CFF2Subrs, const OT::cff2::accelerator_subset_t, cff2_cs_interp_env_t<blend_arg_t>, cff2_cs_opset_subr_subset_t>
{ … };
struct cff2_private_blend_encoder_param_t
{ … };
struct cff2_private_dict_blend_opset_t : dict_opset_t
{ … };
struct cff2_private_dict_op_serializer_t : op_serializer_t
{ … };
namespace OT {
struct cff2_subset_plan
{ … };
}
static bool _serialize_cff2_charstrings (hb_serialize_context_t *c,
cff2_subset_plan &plan,
const OT::cff2::accelerator_subset_t &acc)
{ … }
bool
OT::cff2::accelerator_subset_t::serialize (hb_serialize_context_t *c,
struct cff2_subset_plan &plan,
hb_array_t<int> normalized_coords) const
{ … }
bool
OT::cff2::accelerator_subset_t::subset (hb_subset_context_t *c) const
{ … }
#endif