[cff2] Undo rounding change in draw() codepath
This commit is contained in:
parent
4867e0b192
commit
576b36a31b
|
@ -235,7 +235,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,
|
const hb_array_t<const ELEM> blends,
|
||||||
unsigned n, unsigned i)
|
unsigned n, unsigned i)
|
||||||
{
|
{
|
||||||
arg.set_int (round (arg.to_real () + env.blend_deltas (blends)));
|
arg.set_real (arg.to_real () + env.blend_deltas (blends));
|
||||||
}
|
}
|
||||||
|
|
||||||
static void process_blend (cff2_cs_interp_env_t<ELEM> &env, PARAM& param)
|
static void process_blend (cff2_cs_interp_env_t<ELEM> &env, PARAM& param)
|
||||||
|
|
Loading…
Reference in New Issue