From ef11305bfda0e261f0793acd81c9478df1719b1e Mon Sep 17 00:00:00 2001 From: Michiharu Ariza Date: Sun, 31 Mar 2019 00:23:58 -0700 Subject: [PATCH] fixed tt var extents max bounds were not correctly initialized --- src/hb-ot-glyf-table.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-ot-glyf-table.hh b/src/hb-ot-glyf-table.hh index e0a69850f..1a008d11d 100644 --- a/src/hb-ot-glyf-table.hh +++ b/src/hb-ot-glyf-table.hh @@ -574,7 +574,7 @@ struct glyf struct contour_bounds_t { - contour_bounds_t () { min.x = min.y = FLT_MAX; max.x = max.y = FLT_MIN; } + contour_bounds_t () { min.x = min.y = FLT_MAX; max.x = max.y = -FLT_MAX; } void add (const contour_point_t &p) {