From 1d8a89504bc2fc37372f10ea699453992ae8fc0b Mon Sep 17 00:00:00 2001 From: justvanrossum Date: Tue, 16 Feb 2021 20:55:16 +0100 Subject: [PATCH] do not round added deltas; fixes #2866 --- src/hb-ot-var-gvar-table.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hb-ot-var-gvar-table.hh b/src/hb-ot-var-gvar-table.hh index 4d4e6dcae..7e4eaaad9 100644 --- a/src/hb-ot-var-gvar-table.hh +++ b/src/hb-ot-var-gvar-table.hh @@ -652,8 +652,8 @@ no_more_gaps: /* apply specified / inferred deltas to points */ for (unsigned int i = 0; i < points.length; i++) { - points[i].x += roundf (deltas[i].x); - points[i].y += roundf (deltas[i].y); + points[i].x += deltas[i].x; + points[i].y += deltas[i].y; } } while (iterator.move_to_next ());