Allow an empty list for the gasp records.
git-svn-id: http://svn.robofab.com/branches/ufo3k@402 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
This commit is contained in:
parent
b4d892e896
commit
3bc6561e49
@ -108,7 +108,7 @@ def fontInfoOpenTypeGaspRangeRecordsValidator(value):
|
||||
if not isinstance(value, list):
|
||||
return False
|
||||
if len(value) == 0:
|
||||
return False
|
||||
return True
|
||||
validBehaviors = [0, 1, 2, 3]
|
||||
dictPrototype = dict(rangeMaxPPEM=(int, True), rangeGaspBehavior=(list, True))
|
||||
ppemOrder = []
|
||||
|
Loading…
x
Reference in New Issue
Block a user