[cff2] Undo rounding change in draw() codepath

This commit is contained in:
Behdad Esfahbod 2023-01-06 11:40:21 -07:00
parent 4867e0b192
commit 576b36a31b
1 changed files with 1 additions and 1 deletions

View File

@ -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,
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)