fixed tt var extents

max bounds were not correctly initialized
This commit is contained in:
Michiharu Ariza 2019-03-31 00:23:58 -07:00
parent f7700fc479
commit ef11305bfd
1 changed files with 1 additions and 1 deletions

View File

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