From c3f509e3e5d94c768e0735ac999939b4e9360702 Mon Sep 17 00:00:00 2001 From: James Godfrey-Kittle Date: Thu, 30 Apr 2015 16:24:39 -0700 Subject: Fix bug causing inaccurate anchor coordinates. I introduced this bug in aa285dc861fb8a5b5083e1de3bb00ea1ef658cb1 while adapting updated scripts from Paratype. --- scripts/lib/fontbuild/anchors.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts/lib/fontbuild/anchors.py') diff --git a/scripts/lib/fontbuild/anchors.py b/scripts/lib/fontbuild/anchors.py index 9b8095d..622d52a 100644 --- a/scripts/lib/fontbuild/anchors.py +++ b/scripts/lib/fontbuild/anchors.py @@ -39,9 +39,9 @@ def moveMarkAnchors(f, g, anchorName, accentName, dx, dy): anchors = f[accentName].anchors for anchor in anchors: if "mkmkbottom_acc" == anchor.name: - for anchor in g.anchors: - if anchor.name == "bottom": - g.removeAnchor(anchor) + for anc in g.anchors: + if anc.name == "bottom": + g.removeAnchor(anc) break x = anchor.x + int(dx) for anc in anchors: -- cgit v1.2.3