-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
The big picture:
from fontMath import MathInfo
from defcon import Info
i1 = Info()
i1.italicAngle = 0
i2 = Info()
i2.italicAngle = 0
mi1 = MathInfo(i1)
mi2 = MathInfo(i2)
r = mi1 + (mi2 - mi1) * (-0.21, -0.386)
print(r.italicAngle)This prints out -180.0 as a interpolation result for the italicAngle.
Narrowed down to the factorAngle function:
from fontMath.mathFunctions import factorAngle
from fontMath.mathFunctions import mul
r = factorAngle(0, (-0.21, -0.21), mul)
print(r)I have no solution, factorAngle divides the angle to sin/cos mimicking x/y and applies the anisotropic factor, which makes sense, only the result is not as expected.
Metadata
Metadata
Assignees
Labels
No labels