Merge pull request #1679 from madig/ds-instance-default-font-attr

Add a default InstanceDescriptor.font attribute
This commit is contained in:
Nikolaus Waxweiler 2019-08-02 15:39:53 +01:00 committed by GitHub
commit 4c86ca608f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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