Skip to content

Commit

Permalink
Remove old components when removing overlap
Browse files Browse the repository at this point in the history
Otherwise we end up with overlaying contours.
  • Loading branch information
khaledhosny committed Apr 9, 2024
1 parent e0a6f39 commit e08a990
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 0 deletions.
Binary file modified docs/assets/fonts/Raqq.woff2
Binary file not shown.
Binary file modified docs/assets/fonts/RaqqSura.woff2
Binary file not shown.
Binary file modified fonts/Raqq.ttf
Binary file not shown.
Binary file modified fonts/Raqq.woff2
Binary file not shown.
Binary file modified fonts/RaqqSura.ttf
Binary file not shown.
Binary file modified fonts/RaqqSura.woff2
Binary file not shown.
1 change: 1 addition & 0 deletions scripts/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -745,6 +745,7 @@ def removeOverlap(font, layer):
layer.draw(path.getPen(glyphSet=glyphSet))
path.simplify(fix_winding=True, keep_starting_points=True)
layer.paths = []
layer.components = []
path.draw(layer.getPen())


Expand Down

0 comments on commit e08a990

Please sign in to comment.