Skip to content

Commit

Permalink
Add debugging to an assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
behdad committed Dec 10, 2024
1 parent d681d27 commit b6a1e36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion varcFont.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ async def buildVarcFont(rcjkfont, glyphs):
allTransformMasterValues = tuple(allTransformMasterValues)

axisIndexMasterValues = allAxisIndexMasterValues[0]
assert all(axisIndexMasterValues == m for m in allAxisIndexMasterValues)
assert all(axisIndexMasterValues == m for m in allAxisIndexMasterValues), allAxisIndexMasterValues
rec.numAxes = len(axisIndexMasterValues)
if axisIndexMasterValues:
if axisIndexMasterValues in axisIndicesMap:
Expand Down

0 comments on commit b6a1e36

Please sign in to comment.