[varLib.avarPlanner] Fix pinning again
This commit is contained in:
parent
8c5627e936
commit
8b30403baf
@ -339,11 +339,9 @@ def planAxis(
|
||||
outNormalized = {}
|
||||
|
||||
axisMeasurements = {}
|
||||
for value in sorted({minValue, defaultValue, maxValue} | set(pins.values())):
|
||||
for value in sorted({minValue, defaultValue, maxValue} | set(pins.keys())):
|
||||
glyphset = glyphSetFunc(location={axisTag: value})
|
||||
|
||||
designValue = piecewiseLinearMap(value, pins)
|
||||
|
||||
designValue = pins[value]
|
||||
axisMeasurements[designValue] = measureFunc(glyphset, glyphs)
|
||||
|
||||
if sanitizeFunc is not None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user