Skip to content

Commit

Permalink
[interpolatablePlot] Fix zero-point contours
Browse files Browse the repository at this point in the history
  • Loading branch information
behdad committed Nov 30, 2023
1 parent e3887b7 commit 4994dfe
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Lib/fontTools/varLib/interpolatablePlot.py
Original file line number Diff line number Diff line change
Expand Up @@ -923,7 +923,10 @@ def draw_glyph(self, glyphset, glyphname, problems, which, *, x=0, y=0, scale=No
continue
if first_pt is None:
continue
second_pt = args[0]
if segment == "closePath":
second_pt = first_pt
else:
second_pt = args[0]

if idx is None or i == idx:
cr.save()
Expand Down

0 comments on commit 4994dfe

Please sign in to comment.