Skip to content

Commit

Permalink
[interpolatable] Fix epsilon handling
Browse files Browse the repository at this point in the history
  • Loading branch information
behdad committed Nov 30, 2023
1 parent 207a67e commit e3887b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/fontTools/varLib/interpolatable.py
Original file line number Diff line number Diff line change
Expand Up @@ -951,7 +951,7 @@ def grand_parent(i, glyphname):

if (
not overweight
and expectedSize * tolerance + 1e-5 > midSize
and expectedSize * tolerance > midSize + 1e-5
) or (
overweight and 1e-5 + expectedSize / tolerance < midSize
):
Expand Down

0 comments on commit e3887b7

Please sign in to comment.