Skip to content

Commit

Permalink
Process 'copyGroups' attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelsousa committed Mar 6, 2019
1 parent e0fbcd9 commit 43cef5d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Lib/ufoProcessor/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -669,6 +669,10 @@ def makeInstance(self, instanceDescriptor,
if self.fonts[sourceDescriptor.name] is not None:
for key, value in self.fonts[sourceDescriptor.name].lib.items():
font.lib[key] = value
if sourceDescriptor.copyGroups:
if self.fonts[sourceDescriptor.name] is not None:
for key, value in self.fonts[sourceDescriptor.name].groups.items():
font.groups[key] = value
if sourceDescriptor.copyFeatures:
if self.fonts[sourceDescriptor.name] is not None:
featuresText = self.fonts[sourceDescriptor.name].features.text
Expand Down

0 comments on commit 43cef5d

Please sign in to comment.