mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-15 01:18:13 +00:00
[instancer] Delete redundant code block in cvar subsetting
That case is handled in hb-subset.cc. It also made compilation with HB_NO_VAR fail because it accessed table.fvar.
This commit is contained in:
parent
284889b031
commit
da2c59d71f
1 changed files with 0 additions and 13 deletions
|
@ -143,19 +143,6 @@ struct cvar
|
|||
if (c->plan->all_axes_pinned)
|
||||
return_trace (false);
|
||||
|
||||
/* subset() for cvar is called by partial instancing only, we always pass
|
||||
* through cvar table in other cases */
|
||||
if (!c->plan->normalized_coords)
|
||||
{
|
||||
unsigned axis_count = c->plan->source->table.fvar->get_axis_count ();
|
||||
unsigned total_size = min_size + tupleVariationData.get_size (axis_count);
|
||||
char *out = c->serializer->allocate_size<char> (total_size);
|
||||
if (unlikely (!out)) return_trace (false);
|
||||
|
||||
hb_memcpy (out, this, total_size);
|
||||
return_trace (true);
|
||||
}
|
||||
|
||||
OT::TupleVariationData::tuple_variations_t tuple_variations;
|
||||
unsigned axis_count = c->plan->axes_old_index_tag_map.get_population ();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue