Skip to content

Commit

Permalink
[interpolatable] Enable overweight test
Browse files Browse the repository at this point in the history
Very conservative.
  • Loading branch information
behdad committed Jan 3, 2024
1 parent 2dc887c commit 03c0d78
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Lib/fontTools/varLib/interpolatable.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,9 +386,7 @@ def grand_parent(i, glyphname):
)
):
if overweight:
expectedSize = sqrt(size0 * size1)
expectedSize = (size0 + size1) - expectedSize
continue
expectedSize = max(size0, size1)
else:
expectedSize = sqrt(size0 * size1)

Expand Down

0 comments on commit 03c0d78

Please sign in to comment.