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:
Tal Leming 2011-10-13 18:19:04 +00:00
parent b4d892e896
commit 3bc6561e49

View File

@ -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 = []