Skip to content

Commit

Permalink
Fix _areas changing width
Browse files Browse the repository at this point in the history
  • Loading branch information
andrestelex committed Jan 30, 2021
1 parent d30acb4 commit 8ea66a1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion HT_LetterSpacer_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,9 +247,12 @@ def createAreasGlyph(self, font, layer, margins):
destination.clear()

# Set width and draw
destination.width = layer.width

destination.width = layer.width
destination.paths.append(self.shape(margins[0]))
destination.paths.append(self.shape(margins[1]))
destination.LSB = 0
destination.RSB = 0

def shape(self, points):
shape = GlyphsApp.GSPath()
Expand Down

0 comments on commit 8ea66a1

Please sign in to comment.