Add a default InstanceDescriptor.font attribute

This commit is contained in:
Nikolaus Waxweiler 2019-08-02 13:40:15 +01:00
parent 5ac0b9c04e
commit 0b9ad5ab80

View File

@ -223,6 +223,7 @@ class InstanceDescriptor(SimpleDescriptor):
def __init__(self):
self.filename = None # the original path as found in the document
self.path = None # the absolute path, calculated from filename
self.font = None # Same as in SourceDescriptor.
self.name = None
self.location = None
self.familyName = None