Created
June 2, 2015 15:10
-
-
Save marcdama/463e8185828ff57ee00a to your computer and use it in GitHub Desktop.
FL: Selection: move specific anchor by a set amount
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from robofab.world import * | |
f = CurrentFont() | |
anc_name = '_htop' | |
amount = 10 | |
for i in f.selection: | |
for j in f[i].anchors: | |
if anc_name in j.name: | |
j.y += amount |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment