Skip to content

Commit

Permalink
[instancer-solver] Fix a bug
Browse files Browse the repository at this point in the history
Fixes #3139
  • Loading branch information
behdad committed May 29, 2023
1 parent b8dcb85 commit afd0d9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/fontTools/varLib/instancer/solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def _solve(tent, axisLimit, negative=False):
# Crossing point on the axis.
crossing = peak + ((1 - gain) * (upper - peak) / (1 - outGain))

loc = (peak, peak, crossing)
loc = (axisDef, peak, crossing)
scalar = 1

# The part before the crossing point.
Expand Down

0 comments on commit afd0d9e

Please sign in to comment.