Skip to content

Commit

Permalink
Assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
behdad committed Dec 25, 2023
1 parent 2b18213 commit 7b5fbd6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions flatFont.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ async def buildFlatGlyph(rcjkfont, glyph, axesNameToTag=None):
rppen.value = (await decomposeLayer(layer, rcjkfont)).value
rppen.replay(pspen)

assert loc not in shapes
shapes[loc] = rspen.value

pens = [TTGlyphPen() for i in range(len(glyph_masters))]
Expand Down

0 comments on commit 7b5fbd6

Please sign in to comment.