diff options
author | James Godfrey-Kittle <jamesgk@google.com> | 2015-04-30 16:24:39 -0700 |
---|---|---|
committer | jamesgk <jamesgk19@gmail.com> | 2015-04-30 16:24:39 -0700 |
commit | c3f509e3e5d94c768e0735ac999939b4e9360702 (patch) | |
tree | 4aa4e82ac32dd957703e71209ce5375b2d1799af /scripts/lib | |
parent | d5d89e40dbd2d2162bf82851770f5b63a790cc09 (diff) |
Fix bug causing inaccurate anchor coordinates.
I introduced this bug in aa285dc861fb8a5b5083e1de3bb00ea1ef658cb1 while adapting updated scripts from Paratype.
Diffstat (limited to 'scripts/lib')
-rw-r--r-- | scripts/lib/fontbuild/anchors.py | 6 |
1 files changed, 3 insertions, 3 deletions
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: |