From e81c8c1312f2c9140960520cedeea8264ca7f0ee Mon Sep 17 00:00:00 2001 From: Garret Rieger Date: Fri, 3 May 2024 18:06:14 +0000 Subject: [PATCH] Change tolerance from float to double. --- src/hb-ot-var-common.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-ot-var-common.hh b/src/hb-ot-var-common.hh index 259f81153..caa3ec5d2 100644 --- a/src/hb-ot-var-common.hh +++ b/src/hb-ot-var-common.hh @@ -1031,7 +1031,7 @@ struct tuple_delta_t bool optimize (const contour_point_vector_t& contour_points, bool is_composite, - float tolerance = 0.5f) + double tolerance = 0.5) { unsigned count = contour_points.length; if (deltas_x.length != count ||