-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Description
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
Metadata
Metadata
Assignees
Labels
No labels