Skip to content

Commit

Permalink
Compile at least
Browse files Browse the repository at this point in the history
  • Loading branch information
simoncozens committed Jul 20, 2022
1 parent 915a24c commit 183d19a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Lib/ufo2ft/featureWriters/variableCursWriter.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ def _getAnchors(self, glyphName):
entry_x_value.add_value(location, anchor.x)
entry_y_value.add_value(location, anchor.y)
if entry_anchor is None:
entry_anchor = ast.Anchor(x=entry_x_value, y=entry_y_value)
entry_anchor = ast.Anchor(x=entry_x_value, y=entry_y_value)
if anchor.name == "exit":
location = get_userspace_location(
self.context.font, source.location
)
exit_x_value.add_value(location, anchor.x)
exit_y_value.add_value(location, anchor.y)
if exit_anchor is None:
exit_anchor = ast.Anchor(x=exit_x_value, y=exit_y_value)
return entry_anchor, exit_anchor
exit_anchor = ast.Anchor(x=exit_x_value, y=exit_y_value)
return entry_anchor, exit_anchor

0 comments on commit 183d19a

Please sign in to comment.