[subset-cff] Minor hide num_coords again
This commit is contained in:
parent
576b36a31b
commit
76879c5763
|
@ -163,10 +163,11 @@ struct cff2_cs_interp_env_t : cs_interp_env_t<ELEM, CFF2Subrs>
|
|||
return v;
|
||||
}
|
||||
|
||||
public:
|
||||
bool have_coords () const { return num_coords; }
|
||||
|
||||
protected:
|
||||
const int *coords;
|
||||
unsigned int num_coords;
|
||||
protected:
|
||||
const CFF2VariationStore *varStore;
|
||||
unsigned int region_count;
|
||||
unsigned int ivs;
|
||||
|
@ -223,7 +224,7 @@ struct cff2_cs_opset_t : cs_opset_t<ELEM, OPSET, cff2_cs_interp_env_t<ELEM>, PAR
|
|||
const hb_array_t<const ELEM> blends,
|
||||
unsigned n, unsigned i)
|
||||
{
|
||||
if (env.num_coords)
|
||||
if (env.have_coords ())
|
||||
arg.set_int (round (arg.to_real () + env.blend_deltas (blends)));
|
||||
else
|
||||
arg.set_blends (n, i, blends);
|
||||
|
|
Loading…
Reference in New Issue