Skip to content

Commit

Permalink
Merge pull request #859 from googlefonts/filter-marks-sparse
Browse files Browse the repository at this point in the history
Support sparse masters in kernFeatureWriter
  • Loading branch information
anthrotype authored Jul 29, 2024
2 parents 96eb7f2 + 6029054 commit 7509559
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Lib/ufo2ft/featureWriters/kernFeatureWriter.py
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,9 @@ def _filterSpacingMarks(self, marks):
spacing = []
for mark in marks:
if all(
source.font[mark].width != 0 for source in self.context.font.sources
source.font[mark].width != 0
for source in self.context.font.sources
if mark in source.font
):
spacing.append(mark)
return spacing
Expand Down

0 comments on commit 7509559

Please sign in to comment.