Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
khaledhosny committed Jan 14, 2024
1 parent b064b31 commit 661554a
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions scripts/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,14 +298,10 @@ def makeFeatures(font, master, args, glyphOrder):
continue
if glyph.leftKerningGroup:
group = f"MMK_R_{glyph.leftKerningGroup}"
if group not in groups:
groups[group] = []
groups[group].append(name)
groups.setdefault(group, []).append(name)
if glyph.rightKerningGroup:
group = f"MMK_L_{glyph.rightKerningGroup}"
if group not in groups:
groups[group] = []
groups[group].append(name)
groups.setdefault(group, []).append(name)

fea = ""
for name, code in groups.items():
Expand Down

0 comments on commit 661554a

Please sign in to comment.