mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-13 16:50:38 +00:00
[subset/cff] Remove unused method
This commit is contained in:
parent
43ec78f92c
commit
26f320dcd3
4 changed files with 0 additions and 18 deletions
|
@ -1495,8 +1495,6 @@ struct cff1
|
|||
typedef accelerator_templ_t<cff1_private_dict_opset_subset_t, cff1_private_dict_values_subset_t> SUPER;
|
||||
};
|
||||
|
||||
HB_INTERNAL bool subset (hb_subset_context_t *c) const;
|
||||
|
||||
protected:
|
||||
HB_INTERNAL static hb_codepoint_t lookup_standard_encoding_for_code (hb_codepoint_t sid);
|
||||
HB_INTERNAL static hb_codepoint_t lookup_expert_encoding_for_code (hb_codepoint_t sid);
|
||||
|
|
|
@ -526,8 +526,6 @@ struct cff2
|
|||
typedef accelerator_templ_t<cff2_private_dict_opset_subset_t, cff2_private_dict_values_subset_t> SUPER;
|
||||
};
|
||||
|
||||
HB_INTERNAL bool subset (hb_subset_context_t *c) const;
|
||||
|
||||
public:
|
||||
FixedVersion<HBUINT8> version; /* Version of CFF2 table. set to 0x0200u */
|
||||
NNOffsetTo<TopDict, HBUINT8> topDict; /* headerSize = Offset to Top DICT. */
|
||||
|
|
|
@ -952,12 +952,5 @@ OT::cff1::accelerator_subset_t::subset (hb_subset_context_t *c) const
|
|||
return _serialize_cff1 (c->serializer, cff_plan, *this);
|
||||
}
|
||||
|
||||
bool
|
||||
OT::cff1::subset (hb_subset_context_t *c) const
|
||||
{
|
||||
OT::cff1::accelerator_subset_t acc (c->plan->source);
|
||||
return acc.is_valid () && acc.subset (c);
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
@ -652,11 +652,4 @@ OT::cff2::accelerator_subset_t::subset (hb_subset_context_t *c) const
|
|||
c->plan->normalized_coords.as_array ());
|
||||
}
|
||||
|
||||
bool
|
||||
OT::cff2::subset (hb_subset_context_t *c) const
|
||||
{
|
||||
OT::cff2::accelerator_subset_t acc (c->plan->source);
|
||||
return acc.is_valid () && acc.subset (c);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue