You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The argument for fontInfoPostscriptBluesValidator in validator.py is recieving a value like ([-12, 12, 525, 549, 756, 780],) which always has length 1 and rule to validate the length as multiple of 2 always fails
A sample stack trace is given. I am setting a list of 6 values to self.info.postscriptBlueValues
self.info.postscriptBlueValues= [-12, 12, int(self.info.xHeight-12), int(self.info.xHeight+12), int(self.info.ascender-12), int(self.info.ascender+12)],
File "/home/santhosh/work/fonts/Malini/.venv/lib/python3.10/site-packages/defcon/objects/info.py", line 38, in setter
raise ValueError("Invalid value ({0}) for attribute {1}.".format(repr(value), name))
ValueError: Invalid value (([-12, 12, 525, 549, 756, 780],)) for attribute postscriptBlueValues.
make: *** [Makefile:47: sources/ufo/Malini-Regular.ufo] Error 1
I assume I setting the values correctly. If not please let me know. Thanks
The text was updated successfully, but these errors were encountered:
The argument for fontInfoPostscriptBluesValidator in validator.py is recieving a value like
([-12, 12, 525, 549, 756, 780],)
which always has length 1 and rule to validate the length as multiple of 2 always failsA sample stack trace is given. I am setting a list of 6 values to
self.info.postscriptBlueValues
I assume I setting the values correctly. If not please let me know. Thanks
The text was updated successfully, but these errors were encountered: