[varLib.avarPlanner] Fix creation of new avar table
This commit is contained in:
parent
1a36440d3d
commit
43df0ae0a1
@ -197,6 +197,9 @@ def main(args=None):
|
|||||||
|
|
||||||
if "avar" not in font:
|
if "avar" not in font:
|
||||||
font["avar"] = newTable("avar")
|
font["avar"] = newTable("avar")
|
||||||
|
for axis in fvar.axes:
|
||||||
|
font["avar"].segments[axis.axisTag] = {}
|
||||||
|
|
||||||
avar = font["avar"]
|
avar = font["avar"]
|
||||||
if wghtAxis:
|
if wghtAxis:
|
||||||
avar.segments["wght"] = outNormalized
|
avar.segments["wght"] = outNormalized
|
||||||
|
Loading…
x
Reference in New Issue
Block a user